String made of substring test update (#7234)
This commit is contained in:
parent
2f7638fd37
commit
5d3d79ca84
|
@ -9,11 +9,11 @@ public class SubstringRepetitionUnitTest {
|
||||||
|
|
||||||
private String validString = "aa";
|
private String validString = "aa";
|
||||||
private String validStringTwo = "ababab";
|
private String validStringTwo = "ababab";
|
||||||
private String validStringThree = "aabcaabcaabcaabc";
|
private String validStringThree = "baeldungbaeldung";
|
||||||
|
|
||||||
private String invalidString = "aca";
|
private String invalidString = "aca";
|
||||||
private String invalidStringTwo = "ababa";
|
private String invalidStringTwo = "ababa";
|
||||||
private String invalidStringThree = "abcdab";
|
private String invalidStringThree = "baeldungnonrepeatedbaeldung";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenValidStrings_whenCheckIfContainsOnlySubstrings_thenReturnsTrue() {
|
public void givenValidStrings_whenCheckIfContainsOnlySubstrings_thenReturnsTrue() {
|
||||||
|
|
Loading…
Reference in New Issue