|
|
@@ -19,7 +19,7 @@ public class NucleotideTest {
|
|
19
|
19
|
assertThat(dna.count('A'), is(0));
|
|
20
|
20
|
}
|
|
21
|
21
|
|
|
22
|
|
- @Ignore
|
|
|
22
|
+ @Ignore("Remove to run test")
|
|
23
|
23
|
@Test
|
|
24
|
24
|
public void testEmptyDnaStringHasNoNucleotides() {
|
|
25
|
25
|
DNA dna = new DNA("");
|
|
|
@@ -33,14 +33,14 @@ public class NucleotideTest {
|
|
33
|
33
|
));
|
|
34
|
34
|
}
|
|
35
|
35
|
|
|
36
|
|
- @Ignore
|
|
|
36
|
+ @Ignore("Remove to run test")
|
|
37
|
37
|
@Test
|
|
38
|
38
|
public void testRepetitiveCytosineGetsCounted() {
|
|
39
|
39
|
DNA dna = new DNA("CCCCC");
|
|
40
|
40
|
assertThat(dna.count('C'), is(5));
|
|
41
|
41
|
}
|
|
42
|
42
|
|
|
43
|
|
- @Ignore
|
|
|
43
|
+ @Ignore("Remove to run test")
|
|
44
|
44
|
@Test
|
|
45
|
45
|
public void testRepetitiveSequenceWithOnlyGuanine() {
|
|
46
|
46
|
DNA dna = new DNA("GGGGGGGG");
|
|
|
@@ -54,14 +54,14 @@ public class NucleotideTest {
|
|
54
|
54
|
));
|
|
55
|
55
|
}
|
|
56
|
56
|
|
|
57
|
|
- @Ignore
|
|
|
57
|
+ @Ignore("Remove to run test")
|
|
58
|
58
|
@Test
|
|
59
|
59
|
public void testCountsOnlyThymine() {
|
|
60
|
60
|
DNA dna = new DNA("GGGGGTAACCCGG");
|
|
61
|
61
|
assertThat(dna.count('T'), is(1));
|
|
62
|
62
|
}
|
|
63
|
63
|
|
|
64
|
|
- @Ignore
|
|
|
64
|
+ @Ignore("Remove to run test")
|
|
65
|
65
|
@Test
|
|
66
|
66
|
public void testCountsANucleotideOnlyOnce() {
|
|
67
|
67
|
DNA dna = new DNA("CGATTGGG");
|
|
|
@@ -69,7 +69,7 @@ public class NucleotideTest {
|
|
69
|
69
|
assertThat(dna.count('T'), is(2));
|
|
70
|
70
|
}
|
|
71
|
71
|
|
|
72
|
|
- @Ignore
|
|
|
72
|
+ @Ignore("Remove to run test")
|
|
73
|
73
|
@Test
|
|
74
|
74
|
public void testDnaCountsDoNotChangeAfterCountingAdenine() {
|
|
75
|
75
|
DNA dna = new DNA("GATTACA");
|
|
|
@@ -84,7 +84,7 @@ public class NucleotideTest {
|
|
84
|
84
|
));
|
|
85
|
85
|
}
|
|
86
|
86
|
|
|
87
|
|
- @Ignore
|
|
|
87
|
+ @Ignore("Remove to run test")
|
|
88
|
88
|
@Test
|
|
89
|
89
|
public void testValidatesNucleotides() {
|
|
90
|
90
|
thrown.expect(IllegalArgumentException.class);
|
|
|
@@ -92,7 +92,7 @@ public class NucleotideTest {
|
|
92
|
92
|
dna.count('X');
|
|
93
|
93
|
}
|
|
94
|
94
|
|
|
95
|
|
- @Ignore
|
|
|
95
|
+ @Ignore("Remove to run test")
|
|
96
|
96
|
@Test
|
|
97
|
97
|
public void testCountsAllNucleotides() {
|
|
98
|
98
|
String s = "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC";
|