|
|
@ -93,12 +93,10 @@ class GhostTest { |
|
|
|
gameManager.ghosts[0].position = new Vector2(25, 1); |
|
|
|
// act |
|
|
|
|
|
|
|
for(int i = 0; i < 6; i++) { |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
} |
|
|
|
|
|
|
|
Vector2 ghostPos = gameManager.ghosts[0].position; |
|
|
|
|
|
|
|
// assert |
|
|
|