Skip to content

Commit 9a3bb56

Browse files
authored
Merge pull request exercism#458 from FridaTveit/BinarySearchAddIgnoreHint
binary-search: add hint to @ignore annotations
2 parents 56992f2 + 270869f commit 9a3bb56

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

‎exercises/binary-search/src/test/java/BinarySearchTest.java‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void findsAValueInAnArrayWithOneElement() {
4343
assertEquals(expected, actual);
4444
}
4545

46-
@Ignore
46+
@Ignore("Remove to run test")
4747
@Test
4848
public void findsAValueInTheMiddleOfAnArray() {
4949
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -53,7 +53,7 @@ public void findsAValueInTheMiddleOfAnArray() {
5353
assertEquals(expected, actual);
5454
}
5555

56-
@Ignore
56+
@Ignore("Remove to run test")
5757
@Test
5858
public void findsAValueAtTheBeginningOfAnArray() {
5959
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -63,7 +63,7 @@ public void findsAValueAtTheBeginningOfAnArray() {
6363
assertEquals(expected, actual);
6464
}
6565

66-
@Ignore
66+
@Ignore("Remove to run test")
6767
@Test
6868
public void findsAValueAtTheEndOfAnArray() {
6969
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -73,7 +73,7 @@ public void findsAValueAtTheEndOfAnArray() {
7373
assertEquals(expected, actual);
7474
}
7575

76-
@Ignore
76+
@Ignore("Remove to run test")
7777
@Test
7878
public void findsAValueInAnArrayOfOddLength() {
7979
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST_OF_ODD_LENGTH);
@@ -83,7 +83,7 @@ public void findsAValueInAnArrayOfOddLength() {
8383
assertEquals(expected, actual);
8484
}
8585

86-
@Ignore
86+
@Ignore("Remove to run test")
8787
@Test
8888
public void findsAValueInAnArrayOfEvenLength() {
8989
BinarySearch<Integer> sut
@@ -94,7 +94,7 @@ public void findsAValueInAnArrayOfEvenLength() {
9494
assertEquals(expected, actual);
9595
}
9696

97-
@Ignore
97+
@Ignore("Remove to run test")
9898
@Test
9999
public void identifiesThatAValueIsNotIncludedInTheArray() {
100100
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -104,7 +104,7 @@ public void identifiesThatAValueIsNotIncludedInTheArray() {
104104
assertEquals(expected, actual);
105105
}
106106

107-
@Ignore
107+
@Ignore("Remove to run test")
108108
@Test
109109
public void aValueSmallerThanTheArraysSmallestValueIsNotIncluded() {
110110
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -114,7 +114,7 @@ public void aValueSmallerThanTheArraysSmallestValueIsNotIncluded() {
114114
assertEquals(expected, actual);
115115
}
116116

117-
@Ignore
117+
@Ignore("Remove to run test")
118118
@Test
119119
public void aValueLargerThanTheArraysSmallestValueIsNotIncluded() {
120120
BinarySearch<Integer> sut = new BinarySearch<>(SORTED_LIST);
@@ -124,7 +124,7 @@ public void aValueLargerThanTheArraysSmallestValueIsNotIncluded() {
124124
assertEquals(expected, actual);
125125
}
126126

127-
@Ignore
127+
@Ignore("Remove to run test")
128128
@Test
129129
public void nothingIsIncludedInAnEmptyArray() {
130130
BinarySearch<Integer> sut = new BinarySearch<>(EMPTY_LIST);

0 commit comments

Comments
 (0)