Class PatternTest.TestMatch

java.lang.Object
com.takenoko.shape.PatternTest.TestMatch
Enclosing class:
PatternTest

@Nested @DisplayName("Method match") class PatternTest.TestMatch extends Object
  • Field Details

  • Constructor Details

    • TestMatch

      TestMatch()
  • Method Details

    • setUp

      @BeforeEach void setUp()
    • tearDown

      @AfterEach void tearDown()
    • match_shouldReturnTrueWhenPatternMatchesSingleTilePattern

      @Test @DisplayName("should return the patterns when the pattern matches a one tile pattern") void match_shouldReturnTrueWhenPatternMatchesSingleTilePattern()
    • match_shouldReturnTrueWhenPatternMatchesNTilePattern

      @Test @DisplayName("should return the patterns when the pattern matches a n tile pattern with a specific color") void match_shouldReturnTrueWhenPatternMatchesNTilePattern()
    • match_shouldReturnFalseWhenPatternDoesNotMatchPattern

      @Test @DisplayName("should return false when the pattern does not match the pattern") void match_shouldReturnFalseWhenPatternDoesNotMatchPattern()