Ejemplo n.º 1
0
 public function testLessThan()
 {
     $obj1 = new LargeInteger("1232354359873214987295871408279852352348972389742389742389742987498723984");
     $obj2 = new LargeInteger("12323543598732149872958714082798523523489723897423897423897429874987239847");
     $obj3 = new LargeInteger("123223543598732149872958714082798523523489723897423897423897429874987239847");
     $obj4 = new LargeInteger("23223543598732149872958714082798523523489723897423897423897429874987239847");
     $this->assertTrue($obj1->less_than($obj2));
     $this->assertFalse($obj3->less_than($obj4));
 }