Package com.takenoko.engine
Class GameEngineTest.TestNewGame
java.lang.Object
com.takenoko.engine.GameEngineTest.TestNewGame
- Enclosing class:
- GameEngineTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
(package private) void
Test that the game state is set to READY after a new game is created.
-
Constructor Details
-
TestNewGame
TestNewGame()
-
-
Method Details
-
shouldThrowExceptionIfGameStateIsNotInitializedOrFinished
@Test @DisplayName("Should throw an exception if the game state is not INITIALIZED or FINISHED") void shouldThrowExceptionIfGameStateIsNotInitializedOrFinished()Test that the game state is set to READY after a new game is created. -
shouldRecreateBoardAndResetBotManagers
@Test @DisplayName("Should recreate the board and reset the bot managers") void shouldRecreateBoardAndResetBotManagers() -
newGame_shouldSetGameStateToReady
@Test @DisplayName("newGame should set the game state to READY") void newGame_shouldSetGameStateToReady() -
newGame_shouldDisplayALotOfMessages
@Test @DisplayName("newGame should display a lot of messages") void newGame_shouldDisplayALotOfMessages()
-