|
|
|
|
@ -92,12 +92,12 @@ class StringSequenceTests {
@@ -92,12 +92,12 @@ class StringSequenceTests {
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
void isEmptyWhenEmptyShouldReturnTrue() { |
|
|
|
|
assertThat(new StringSequence("").isEmpty()).isTrue(); |
|
|
|
|
assertThat(new StringSequence("")).isEmpty(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
void isEmptyWhenNotEmptyShouldReturnFalse() { |
|
|
|
|
assertThat(new StringSequence("x").isEmpty()).isFalse(); |
|
|
|
|
assertThat(new StringSequence("x")).isNotEmpty(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
|