Пример #1
0
 /**
  * This test checks the Flt's equal method.
  *
  * @return void
  */
 public function testEquals()
 {
     // initialize a new Flt instance
     $float = new Flt(1.01);
     // check that the two Flt's are equal
     $this->assertTrue($float->equals(new Flt(1.01)));
 }