Class BambooLayerTest.TestGetBambooAt

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

@Nested @DisplayName("Method getBambooAt()") class BambooLayerTest.TestGetBambooAt extends Object
  • Constructor Details

    • TestGetBambooAt

      TestGetBambooAt()
  • Method Details

    • shouldReturn0OnAnEmptyTile

      @Test @DisplayName("should return 0 on an empty tile") void shouldReturn0OnAnEmptyTile()
    • shouldThrowAnExceptionIfThePositionIsNotOnTheBoard

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

      @Test @DisplayName("should return the bamboo stack at the position") void shouldReturnTheBambooStackAtThePosition()