public function testIsFloat() { foreach ($this->types as $type => $standard) { $typeReflection = new TypeReflection($type); $this->assertSame(in_array($type, ['float', 'double', 'real']), $typeReflection->isFloat(), $type); } }
public function testIsFloatWithDouble() { $typeReflection = new TypeReflection('double'); $this->assertTrue($typeReflection->isFloat()); }