Пример #1
0
 /**
  * This test checks the Integer's divide() method
  * with an odd result.
  *
  * @return void
  */
 public function testDivideToOddNumber()
 {
     // initialize a new Integer instance
     $int = new Integer(11);
     $int->divide(new Integer(3));
     // check the value
     $this->assertEquals(3, $int->intValue());
 }