|
@ -93,12 +93,10 @@ class GhostTest { |
|
|
gameManager.ghosts[0].position = new Vector2(25, 1); |
|
|
gameManager.ghosts[0].position = new Vector2(25, 1); |
|
|
// act |
|
|
// 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(); |
|
|
|
|
|
gameManager.ghosts[0].move(); |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
Vector2 ghostPos = gameManager.ghosts[0].position; |
|
|
Vector2 ghostPos = gameManager.ghosts[0].position; |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|