Class PatternFactoryTest.TestCreateLine

java.lang.Object
com.takenoko.shape.PatternFactoryTest.TestCreateLine
Enclosing class:
PatternFactoryTest

@Nested @DisplayName("Method createShape for LINE") class PatternFactoryTest.TestCreateLine extends Object
  • Constructor Details

    • TestCreateLine

      TestCreateLine()
  • Method Details

    • createShape_shouldReturnLineOfLength3

      @Test @DisplayName("When the shape is LINE should be of length 3") void createShape_shouldReturnLineOfLength3()
    • createShape_shouldReturnLineContainingOrigin

      @Test @DisplayName("When the shape is LINE should contain the origin") void createShape_shouldReturnLineContainingOrigin()
    • createShape_shouldReturnLineContainingAdjacentTile

      @Test @DisplayName("When the shape is LINE should contain the adjacent tile") void createShape_shouldReturnLineContainingAdjacentTile()
    • createShape_shouldReturnLineContainingSecondAdjacentTile

      @Test @DisplayName("When the shape is LINE should contain the second adjacent tile") void createShape_shouldReturnLineContainingSecondAdjacentTile()