+ @Test
+ public void crashGame() {
+ MultiplayerGameRunner gameRunner = new MultiplayerGameRunner();
+ Properties gameParameters = new Properties();
+ gameParameters.setProperty("roadLength", "6");
+ gameParameters.setProperty("initialStones", "15");
+ gameRunner.setGameParameters(gameParameters);
+ gameRunner.setSeed(0l);
+ gameRunner.setLeagueLevel(1);
+
+ gameRunner.addAgent(agentCrash);
+ gameRunner.addAgent(agentCrash);
+
+ assertIsDefeat(gameRunner.simulate());
+ }
+