Example #1
0
 public function testLessThanOrEqualTo()
 {
     $l = '2387432479223';
     $r = '3845987346534875';
     $this->assertTrue(Number::lessThanOrEqualTo($l, $r));
     $l = '3845987346534875';
     $r = '2387432479223';
     $this->assertFalse(Number::lessThanOrEqualTo($l, $r));
     $l = '3845987346534875';
     $r = '3845987346534875';
     $this->assertTrue(Number::lessThanOrEqualTo($l, $r));
 }