|
@ -23,6 +23,10 @@ class GhostTest { |
|
|
Vector2 position = ghost.position; |
|
|
Vector2 position = ghost.position; |
|
|
// assert |
|
|
// assert |
|
|
assertThat(position).isEqualTo(expectedPosition); |
|
|
assertThat(position).isEqualTo(expectedPosition); |
|
|
|
|
|
} |
|
|
|
|
|
@Test |
|
|
|
|
|
void Ghosts_moving_doesntchangePosition() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
@Test |
|
|
@Test |
|
|
void Ghosts_wall_obstructsMovement() { |
|
|
void Ghosts_wall_obstructsMovement() { |
|
|