예제 #1
0
 public function testAsComplexReturnsCloneOfSelf()
 {
     $c = new ComplexType($this->createRationalType(1), $this->createRationalType(1));
     $c2 = $c->asComplex();
     $this->assertEquals($c, $c2);
 }