Class GameEngineTest.TestEndGame

java.lang.Object
com.takenoko.engine.GameEngineTest.TestEndGame
Enclosing class:
GameEngineTest

@Nested @DisplayName("Method endGame") class GameEngineTest.TestEndGame extends Object
  • Constructor Details

    • TestEndGame

      TestEndGame()
  • Method Details

    • endGame_shouldSetGameStateToFinished

      @Test @DisplayName("endGame should set the game state to FINISHED") void endGame_shouldSetGameStateToFinished()
    • endGame_shouldIncrementsVictoriesAndLossesAndUpdateScores

      @Test @DisplayName("endGame should increments victories and losses and update scores") void endGame_shouldIncrementsVictoriesAndLossesAndUpdateScores()
    • endGame_shouldDisplayALotOfMessages

      @Test @DisplayName("endGame should display a lot of messages") void endGame_shouldDisplayALotOfMessages()