Example #1
0
 /**
  * @expectedException        RuntimeException
  * @expectedExceptionMessage Not implemented
  */
 public function testMod()
 {
     $float1 = new Float("1");
     $float2 = new Float("2");
     $float1->mod($float2);
 }
Example #2
0
 public function testMod()
 {
     $float1 = new Float("1");
     $float2 = new Float("2");
     $this->assertEquals(1, (double) $float1->mod($float2), "", self::EPSILON);
 }