|
|
@ -84,8 +84,8 @@ class GameManagerTest { |
|
|
|
Vector2 expectedPosition = new Vector2(1, 1); |
|
|
|
// act |
|
|
|
gameManager.ghosts[0].spawn(); |
|
|
|
Vector2 ghostPositeion = gameManager.ghosts[0].position; |
|
|
|
Vector2 ghostPosition = gameManager.ghosts[0].position; |
|
|
|
// assert |
|
|
|
assertThat(ghostPositeion).isEqualTo(expectedPosition); |
|
|
|
assertThat(ghostPosition).isEqualTo(expectedPosition); |
|
|
|
} |
|
|
|
} |