Esempio n. 1
0
 public function testToFloatReturnsIntegerForIntegerFloatComplexNumber()
 {
     $c = new ComplexType($this->createRationalType(1), $this->createRationalType(0));
     $this->assertInternalType('int', $c->toFloat());
 }