Ejemplo n.º 1
0
 public function testGetReturnsStringForComplexNumber()
 {
     $c = new ComplexType($this->createRationalType(1), $this->createRationalType(2));
     $this->assertInternalType('string', $c->get());
     $this->assertEquals('1+2i', $c->get());
 }