|
|
@@ -67,16 +67,16 @@ public class AnagramTest {
|
|
67
|
67
|
|
|
68
|
68
|
@Ignore
|
|
69
|
69
|
@Test
|
|
70
|
|
- public void testCapitalWordIsNotAnagram() {
|
|
71
|
|
- Anagram detector = new Anagram("BANANA");
|
|
72
|
|
- assertTrue(detector.match(Arrays.asList("Banana")).isEmpty());
|
|
|
70
|
+ public void testIdenticalWordRepeatedIsNotAnagram() {
|
|
|
71
|
+ Anagram detector = new Anagram("go");
|
|
|
72
|
+ assertTrue(detector.match(Arrays.asList("go Go GO")).isEmpty());
|
|
73
|
73
|
}
|
|
74
|
74
|
|
|
75
|
75
|
@Ignore
|
|
76
|
76
|
@Test
|
|
77
|
|
- public void testIdenticalWordRepeatedIsNotAnagram() {
|
|
78
|
|
- Anagram detector = new Anagram("go");
|
|
79
|
|
- assertTrue(detector.match(Arrays.asList("go Go GO")).isEmpty());
|
|
|
77
|
+ public void testCapitalWordIsNotOwnAnagram() {
|
|
|
78
|
+ Anagram detector = new Anagram("BANANA");
|
|
|
79
|
+ assertTrue(detector.match(Arrays.asList("Banana")).isEmpty());
|
|
80
|
80
|
}
|
|
81
|
81
|
|
|
82
|
82
|
@Ignore
|