コード例 #1
0
ファイル: PointTest.php プロジェクト: tmilos/cgi-calc
 public function test_move_returns_new_point()
 {
     $a = new Point(1, 1);
     $c = $a->move($by = new Point(2, 2));
     static::assertNotSame($a, $c);
     static::assertNotSame($by, $c);
 }