Package com.takenoko.layers.bamboo
Class BambooLayerTest.TestGrowBamboo
java.lang.Object
com.takenoko.layers.bamboo.BambooLayerTest.TestGrowBamboo
- Enclosing class:
- BambooLayerTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
-
Constructor Details
-
TestGrowBamboo
TestGrowBamboo()
-
-
Method Details
-
shouldThrowAnExceptionIfThePositionIsTheSameAsThePond
@Test @DisplayName("should throw an exception if the position is the same as the Pond") void shouldThrowAnExceptionIfThePositionIsTheSameAsThePond() -
shouldThrowAnExceptionIfThePositionIsNotOnTheBoard
@Test @DisplayName("should throw an exception if the position is not on the board") void shouldThrowAnExceptionIfThePositionIsNotOnTheBoard() -
shouldAddABambooToTheBambooLayerIfTheKeyExists
@Test @DisplayName("should add a bamboo to the bamboo layer") void shouldAddABambooToTheBambooLayerIfTheKeyExists() -
shouldAddTwoBamboosToTheBambooLayerWhenFertilized
@Test @DisplayName("should add two bamboos to the bamboo layer when fertilized") void shouldAddTwoBamboosToTheBambooLayerWhenFertilized() -
shouldNotGrowBambooPastTheMaximumNumberOfBamboos
@Test @DisplayName("should not grow bamboo past the maximum number of bamboos") void shouldNotGrowBambooPastTheMaximumNumberOfBamboos()
-