docs: fix inconsistency between subject and test

This commit is contained in:
amin 2024-07-10 15:19:57 +01:00 committed by zanninso
parent e5222a2296
commit 33854c08cc
1 changed files with 5 additions and 5 deletions

View File

@ -24,10 +24,10 @@ public class ExerciseRunner {
AnagramChecker checker = new AnagramChecker(); AnagramChecker checker = new AnagramChecker();
// Test cases // Test cases
System.out.println(checker.isAnagram("listen", "silent")); // Expected output: true System.out.println(checker.isAnagram("listen", "silent"));
System.out.println(checker.isAnagram("triangle", "integral")); // Expected output: true System.out.println(checker.isAnagram("triangle", "integral"));
System.out.println(checker.isAnagram("apple", "pale")); // Expected output: false System.out.println(checker.isAnagram("apple", "pale"));
System.out.println(checker.isAnagram("Astronomer", "Moon starer")); // Expected output: true System.out.println(checker.isAnagram("Astronomer", "Moon starer"));
} }
} }
``` ```
@ -40,6 +40,6 @@ $ java -cp build ExerciseRunner
true true
true true
false false
true false
$ $
``` ```