예제 #1
0
 public function testSub()
 {
     $float1 = new Float("1");
     $float2 = new Float("0.5");
     $this->assertEquals(0.5, (double) $float1->sub($float2), "", self::EPSILON);
 }