示例#1
0
 public function test_checkNegation()
 {
     $boat = new BoatB(2);
     $this->assertEqual(true, $boat->setAge(18));
     $this->assertEqual(false, $boat->setAge(19));
 }