|
|
@ -26,7 +26,17 @@ class GhostTest { |
|
|
|
} |
|
|
|
@Test |
|
|
|
void Ghosts_moving_doesntchangePosition() { |
|
|
|
|
|
|
|
// arrange |
|
|
|
//GameManager gameManager = new GameManager(); |
|
|
|
//Ghost ghost = gameManager.ghosts[0]; |
|
|
|
//ghost.position = new Vector2(2,2); |
|
|
|
//Vector2 direction = new Vector2(1,0); |
|
|
|
//Vector2 expectedPosition = new Vector2(2,2); |
|
|
|
// act |
|
|
|
//ghost.move(direction); |
|
|
|
//Vector2 position = ghost.position; |
|
|
|
// assert |
|
|
|
//assertThat(position).isEqualTo(expectedPosition); |
|
|
|
} |
|
|
|
@Test |
|
|
|
void Ghosts_wall_obstructsMovement() { |
|
|
|