Procházet zdrojové kódy

Change test names and order slightly to match canonical data

Frida Tveit před 9 roky
rodič
revize
f664dcd70d
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6
    6
      exercises/anagram/src/test/java/AnagramTest.java

+ 6
- 6
exercises/anagram/src/test/java/AnagramTest.java Zobrazit soubor

67
 
67
 
68
     @Ignore
68
     @Ignore
69
     @Test
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
     @Ignore
75
     @Ignore
76
     @Test
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
     @Ignore
82
     @Ignore