Explorar el Código

Merge pull request #307 from extrika/nucleotide-edits

Issue #306: fix spelling mistakes in test names
FridaTveit hace 9 años
padre
commit
45ece96289
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5
    5
      exercises/nucleotide-count/src/test/java/NucleotideTest.java

+ 5
- 5
exercises/nucleotide-count/src/test/java/NucleotideTest.java Ver fichero

14
     public ExpectedException thrown = ExpectedException.none();
14
     public ExpectedException thrown = ExpectedException.none();
15
     
15
     
16
     @Test
16
     @Test
17
-    public void testEmptyDnaStringHasNoAdenosine() {
17
+    public void testEmptyDnaStringHasNoAdenine() {
18
         DNA dna = new DNA("");
18
         DNA dna = new DNA("");
19
         assertThat(dna.count('A'), is(0));
19
         assertThat(dna.count('A'), is(0));
20
     }
20
     }
35
 
35
 
36
     @Ignore
36
     @Ignore
37
     @Test
37
     @Test
38
-    public void testRepetitiveCytidineGetsCounted() {
38
+    public void testRepetitiveCytosineGetsCounted() {
39
         DNA dna = new DNA("CCCCC");
39
         DNA dna = new DNA("CCCCC");
40
         assertThat(dna.count('C'), is(5));
40
         assertThat(dna.count('C'), is(5));
41
     }
41
     }
42
 
42
 
43
     @Ignore
43
     @Ignore
44
     @Test
44
     @Test
45
-    public void testRepetitiveSequenceWithOnlyGuanosine() {
45
+    public void testRepetitiveSequenceWithOnlyGuanine() {
46
         DNA dna = new DNA("GGGGGGGG");
46
         DNA dna = new DNA("GGGGGGGG");
47
         Map<Character, Integer> counts = dna.nucleotideCounts();
47
         Map<Character, Integer> counts = dna.nucleotideCounts();
48
         assertThat(counts.size(), is(4));
48
         assertThat(counts.size(), is(4));
56
 
56
 
57
     @Ignore
57
     @Ignore
58
     @Test
58
     @Test
59
-    public void testCountsOnlyThymidine() {
59
+    public void testCountsOnlyThymine() {
60
         DNA dna = new DNA("GGGGGTAACCCGG");
60
         DNA dna = new DNA("GGGGGTAACCCGG");
61
         assertThat(dna.count('T'), is(1));
61
         assertThat(dna.count('T'), is(1));
62
     }
62
     }
71
 
71
 
72
     @Ignore
72
     @Ignore
73
     @Test
73
     @Test
74
-    public void testDnaCountsDoNotChangeAfterCountingAdenosine() {
74
+    public void testDnaCountsDoNotChangeAfterCountingAdenine() {
75
         DNA dna = new DNA("GATTACA");
75
         DNA dna = new DNA("GATTACA");
76
         dna.count('A');
76
         dna.count('A');
77
         Map<Character, Integer> counts = dna.nucleotideCounts();
77
         Map<Character, Integer> counts = dna.nucleotideCounts();