Class GardenerTest.TestAfterMove

java.lang.Object
com.takenoko.actors.GardenerTest.TestAfterMove
Enclosing class:
GardenerTest

@Nested @DisplayName("Method afterMove()") class GardenerTest.TestAfterMove extends Object
  • Field Details

  • Constructor Details

    • TestAfterMove

      TestAfterMove()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • tearDown

      @AfterEach void tearDown()
    • shouldGrowBambooIfTheGardenerCanGrowBamboo

      @Test @DisplayName("should grow bamboo if the gardener can grow bamboo") void shouldGrowBambooIfTheGardenerCanGrowBamboo()
    • shouldGrowBambooOnTheNeighbouringTilesIfTheyAreIrrigated

      @Test @DisplayName("should grow bamboo on the neighbouring tiles if they are irrigated") void shouldGrowBambooOnTheNeighbouringTilesIfTheyAreIrrigated()
    • shouldNotGrowBambooIfTheGardenerCannotGrowBamboo

      @Test @DisplayName("should not grow bamboo if the gardener cannot grow bamboo") void shouldNotGrowBambooIfTheGardenerCannotGrowBamboo()