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