Ejemplo n.º 1
0
 public function testSquareRootOfTwo()
 {
     $x = new \MyOddWeb\BigNumber(4);
     $y = $x->Sqrt();
     $z = $y->ToString();
     //  2
     $this->assertSame("2", $z);
 }