예제 #1
0
 public function testCanNegateTheNumber()
 {
     $c = new ComplexType($this->createRationalType(1), $this->createRationalType(2));
     $this->assertEquals('-1-2i', $c->negate()->get());
 }