コード例 #1
0
ファイル: PointTest.php プロジェクト: tarcisio/p2d
 /**
  * @covers tarcisio\p2d\Point::right
  */
 public function testRight()
 {
     $right = 10;
     $p1 = new Point(0, 0);
     $p2 = $p1->right($right);
     $this->assertEquals($p1->x + $right, $p2->x);
 }