Пример #1
0
 /**
  * This test checks the Integer's floatValue() method.
  *
  * @return void
  */
 public function testFloatValue()
 {
     // initialize a new Integer instance
     $int = new Integer(17);
     // check that float value of the Integer instance
     $this->assertEquals(17.0, $int->floatValue());
 }