Class GameEngineTest.TestStartGame.TestStartGame_WhenStartedCorrectly

java.lang.Object
com.takenoko.engine.GameEngineTest.TestStartGame.TestStartGame_WhenStartedCorrectly
Enclosing class:
GameEngineTest.TestStartGame

@Nested @DisplayName("when started at the right time") class GameEngineTest.TestStartGame.TestStartGame_WhenStartedCorrectly extends Object
  • Constructor Details

    • TestStartGame_WhenStartedCorrectly

      TestStartGame_WhenStartedCorrectly()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • startGame_shouldSetGameStateToPlaying

      @Test @DisplayName("should set the game state to PLAYING") void startGame_shouldSetGameStateToPlaying()
      Test that the game state is set to PLAYING after the game is started.