public function testElementsOfWrongTypeAreIgnored($collection) { $this->assertEquals(3.5, sum($collection), '', 0.1); }