Skip to content

Commit 6988bbb

Browse files
hamming: add hint to @ignore annotations
1 parent 2c2f2ee commit 6988bbb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎exercises/hamming/src/test/java/HammingTest.java‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,51 +16,51 @@ public void testNoDifferenceBetweenIdenticalStrands() {
1616
assertThat(new Hamming("A", "A").getHammingDistance(), is(0));
1717
}
1818

19-
@Ignore
19+
@Ignore("Remove to run test")
2020
@Test
2121
public void testHammingDistanceForSingleNucleotideStrand() {
2222
assertThat(new Hamming("A", "G").getHammingDistance(), is(1));
2323
}
2424

25-
@Ignore
25+
@Ignore("Remove to run test")
2626
@Test
2727
public void testHammingDistanceForSmallStrand() {
2828
assertThat(new Hamming("AG", "CT").getHammingDistance(), is(2));
2929
}
3030

31-
@Ignore
31+
@Ignore("Remove to run test")
3232
@Test
3333
public void testSmallHammingDistance() {
3434
assertThat(new Hamming("AT", "CT").getHammingDistance(), is(1));
3535
}
3636

37-
@Ignore
37+
@Ignore("Remove to run test")
3838
@Test
3939
public void testSmallHammingDistanceInLongerStrand() {
4040
assertThat(new Hamming("GGACG", "GGTCG").getHammingDistance(), is(1));
4141
}
4242

43-
@Ignore
43+
@Ignore("Remove to run test")
4444
@Test
4545
public void testValidatesFirstStrandNotLonger() {
4646
thrown.expect(IllegalArgumentException.class);
4747
new Hamming("AAAG", "AAA");
4848
}
4949

50-
@Ignore
50+
@Ignore("Remove to run test")
5151
@Test
5252
public void testValidatesOtherStrandNotLonger() {
5353
thrown.expect(IllegalArgumentException.class);
5454
new Hamming("AAA", "AAAG");
5555
}
5656

57-
@Ignore
57+
@Ignore("Remove to run test")
5858
@Test
5959
public void testLargeHammingDistance() {
6060
assertThat(new Hamming("GATACA", "GCATAA").getHammingDistance(), is(4));
6161
}
6262

63-
@Ignore
63+
@Ignore("Remove to run test")
6464
@Test
6565
public void testHammingDistanceInVeryLongStrand() {
6666
assertThat(new Hamming("GGACGGATTCTG", "AGGACGGATTCT").getHammingDistance(), is(9));

0 commit comments

Comments
 (0)