예제 #1
0
 public function testSetHit()
 {
     $point = new Coordinate(1, 1);
     $point->setHit();
     $result = $point->isHit();
     $this->assertTrue($result);
 }