We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c1940e commit d6222dbCopy full SHA for d6222db
src/test/java/com/thealgorithms/strings/AlphabeticalTest.java
@@ -20,8 +20,8 @@ public class AlphabeticalTest {
20
"'abcxyz', true",
21
"'', false",
22
"'1', false",
23
- "'abc!', false", // <--- string ending with non-letter
24
- "'ABc1', false" // <--- another example
+ "'abc!', false", // <-- missing coverage
+ "'ABc1', false" // <-- optional extra
25
})
26
void testIsAlphabetical(String input, boolean expected) {
27
assertEquals(expected, Alphabetical.isAlphabetical(input));
0 commit comments