Class FullRandomBotTest.TestChooseAction

java.lang.Object
com.takenoko.bot.FullRandomBotTest.TestChooseAction
Enclosing class:
FullRandomBotTest

@Nested @DisplayName("Method chooseAction()") class FullRandomBotTest.TestChooseAction extends Object
  • Constructor Details

    • TestChooseAction

      TestChooseAction()
  • Method Details

    • shouldReturnAnAction

      @Test @DisplayName("should return an action") void shouldReturnAnAction()
    • shouldReturnApplyWeatherActionIfThatActionIsAvailable

      @Test @DisplayName("Should return applyWeatherAction if that action is available") void shouldReturnApplyWeatherActionIfThatActionIsAvailable()
    • shouldReturnAnActionOfTypePlaceTile

      @Test @DisplayName("should return an action of type PlaceTileAction") void shouldReturnAnActionOfTypePlaceTile()
    • shouldReturnAnActionOfTypeMovePanda

      @Test @DisplayName("should return an action of type MovePandaAction") void shouldReturnAnActionOfTypeMovePanda()
    • shouldReturnAnActionOfTypeMoveGardener

      @Test @DisplayName("should return an action of type MoveGardenerAction") void shouldReturnAnActionOfTypeMoveGardener()
    • shouldReturnAnActionOfTypeDrawTileAction

      @Test @DisplayName("should return an action of type DrawTileAction") void shouldReturnAnActionOfTypeDrawTileAction()
    • shouldReturnAnActionOfTypeGetAndStoreImprovementAction

      @Test @DisplayName("should return an action of type GetAndStoreImprovementAction") void shouldReturnAnActionOfTypeGetAndStoreImprovementAction()