Selaa lähdekoodia

acronym: update to latest canonical data

Stuart Kent 9 vuotta sitten
vanhempi
commit
909ffba44c
1 muutettua tiedostoa jossa 3 lisäystä ja 16 poistoa
  1. 3
    16
      exercises/acronym/src/test/java/AcronymTest.java

+ 3
- 16
exercises/acronym/src/test/java/AcronymTest.java Näytä tiedosto

3
 
3
 
4
 import static org.junit.Assert.assertEquals;
4
 import static org.junit.Assert.assertEquals;
5
 
5
 
6
+/*
7
+ * version: 1.1.0
8
+ */
6
 public class AcronymTest {
9
 public class AcronymTest {
7
 
10
 
8
     @Test
11
     @Test
22
 
25
 
23
     @Ignore("Remove to run test")
26
     @Ignore("Remove to run test")
24
     @Test
27
     @Test
25
-    public void fromInconsistentlyCasedPhrases() {
26
-        final String phrase = "HyperText Markup Language";
27
-        final String expected = "HTML";
28
-        assertEquals(expected, new Acronym(phrase).get());
29
-    }
30
-
31
-    @Ignore("Remove to run test")
32
-    @Test
33
     public void fromPhrasesWithPunctuation() {
28
     public void fromPhrasesWithPunctuation() {
34
         final String phrase = "First In, First Out";
29
         final String phrase = "First In, First Out";
35
         final String expected = "FIFO";
30
         final String expected = "FIFO";
60
         assertEquals(expected, new Acronym(phrase).get());
55
         assertEquals(expected, new Acronym(phrase).get());
61
     }
56
     }
62
 
57
 
63
-    @Ignore("Remove to run test")
64
-    @Test
65
-    public void fromPhraseWithSingleLetterWord() {
66
-        final String phrase = "Cat in a Hat";
67
-        final String expected = "CIAH";
68
-        assertEquals(expected, new Acronym(phrase).get());
69
-    }
70
-
71
 }
58
 }