Class SingleBotStatisticsTest.TestUpdateTilesPlacedCounter

java.lang.Object
com.takenoko.engine.SingleBotStatisticsTest.TestUpdateTilesPlacedCounter
Enclosing class:
SingleBotStatisticsTest

@Nested @DisplayName("Test Update Tiles Placed Counter") class SingleBotStatisticsTest.TestUpdateTilesPlacedCounter extends Object
  • Constructor Details

    • TestUpdateTilesPlacedCounter

      TestUpdateTilesPlacedCounter()
  • Method Details

    • whenThePlacedTileIsNew_shouldAddNewEntry

      @Test @DisplayName("when the placed tile is of new type, should add new entry") void whenThePlacedTileIsNew_shouldAddNewEntry()
    • whenThePlacedTileIsntOfNewColor_shouldntAddNewEntry

      @Test @DisplayName("when the placed tile isn\'t of new color, shouldn\'t add new entry") void whenThePlacedTileIsntOfNewColor_shouldntAddNewEntry()
    • shouldIncrementNumberOfTilesPlacedForTheRightColor

      @Test @DisplayName("should increment number of placed tiles for the right color") void shouldIncrementNumberOfTilesPlacedForTheRightColor()
    • ifParameterIsNull_shouldThrowException

      @Test @DisplayName("if parameter is null, should throw exception") void ifParameterIsNull_shouldThrowException()