@Test public void integration_givenWhiteStarts_thenWhiteWins() throws Exception { addReadIntOutput(5, 5, 11, 23, 42, 35, 54); addReadStringOutput("true"); startGame(); assertReadIntCounter(7); assertReportWinner(PLAYER1); }
public void startGame(){ determineBoardSize(); initBoard(); determineFirstPlayer(); printBoard(); mainLoop(); reportWinner(); }
DameSpiel extends MiniJava { public void startGame(){ determineBoardSize(); initBoard(); determineFirstPlayer(); printBoard(); mainLoop(); reportWinner(); } }
DameSpiel extends MiniJava { public void startGame(){ determineBoardSize(); initBoard(); determineFirstPlayer(); printBoard(); mainLoop(); reportWinner(); } DameSpiel(String white, String black); }
DameSpiel extends MiniJava { public void startGame(){ determineBoardSize(); initBoard(); determineFirstPlayer(); printBoard(); mainLoop(); reportWinner(); } DameSpiel(String white, String black); void startGame(); static void main(String[] args); }
DameSpiel extends MiniJava { public void startGame(){ determineBoardSize(); initBoard(); determineFirstPlayer(); printBoard(); mainLoop(); reportWinner(); } DameSpiel(String white, String black); void startGame(); static void main(String[] args);  }