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