Class BambooLayerTest.TestRemoveBamboo

java.lang.Object
com.takenoko.layers.bamboo.BambooLayerTest.TestRemoveBamboo
Enclosing class:
BambooLayerTest

@Nested @DisplayName("Method removeBamboo()") class BambooLayerTest.TestRemoveBamboo extends Object
  • Constructor Details

    • TestRemoveBamboo

      TestRemoveBamboo()
  • Method Details

    • shouldRemoveTheBambooFromTheBambooLayer

      @Test @DisplayName("should remove the bamboo from the bamboo layer") void shouldRemoveTheBambooFromTheBambooLayer()
    • shouldThrowAnExceptionIfThePositionIsNotOnTheBoard

      @Test @DisplayName("should throw an exception if the position is not on the board") void shouldThrowAnExceptionIfThePositionIsNotOnTheBoard()
    • shouldThrowAnExceptionIfTheBambooStackIsEmpty

      @Test @DisplayName("should throw an exception if the bamboo stack is empty") void shouldThrowAnExceptionIfTheBambooStackIsEmpty()