Browse Source

Test.BotisEnemy getter setter

main
fdai7906 11 months ago
parent
commit
0649d63990
  1. 8
      src/test/java/de/hsfulda/onses/PlayerTest.java

8
src/test/java/de/hsfulda/onses/PlayerTest.java

@ -80,4 +80,12 @@ public class PlayerTest {
String answer = playerService.getPlayerList().getFirst().getPlayerName();
assertEquals(name2, answer);
}
@Test
@DisplayName("BotIsEnemy")
public void BotIsEnemy() {
Player player = new Player();
player.setEnemy(true);
assertTrue(player.isEnemy());
}
}
Loading…
Cancel
Save