Browse Source

Merge branch 'main' of https://gitlab.cs.hs-fulda.de/fdai7012/pacmayham

remotes/origin/playerRefactoring
fdai7012 11 months ago
parent
commit
ecefa51f62
  1. 16
      src/test/java/pacmanTests/GhostTest.java

16
src/test/java/pacmanTests/GhostTest.java

@ -52,6 +52,18 @@ class GhostTest {
// assert
//assertThat(position).isEqualTo(expectedPosition);
}
@Test
void Ghosts_wall_doesntobstructMovement() {
// 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(1,2);
// act
//ghost.move(direction);
//Vector2 position = ghost.position;
// assert
//assertThat(position).isEqualTo(expectedPosition);
}
}
Loading…
Cancel
Save