Beispiel #1
0
 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);
 }