public function test_collection_supports_type_double() { $col = new Collection('double'); $col = $col->add(1.0); $this->assertEquals(1, $col->count()); }