Skip to content

Commit 2f6bb44

Browse files
committed
rectangles: add hint to @ignore annotations
1 parent 4177a3f commit 2f6bb44

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

exercises/rectangles/src/test/java/RectangleCounterTest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ public void testInputWithNoColumnsContainsNoRectangles() {
2020
assertEquals(0, rectangleCounter.countRectangles(inputGrid));
2121
}
2222

23-
@Ignore
23+
@Ignore("Remove to run test")
2424
@Test
2525
public void testNonTrivialInputWithNoRectangles() {
2626
String[] inputGrid = new String[]{" "};
2727

2828
assertEquals(0, rectangleCounter.countRectangles(inputGrid));
2929
}
3030

31-
@Ignore
31+
@Ignore("Remove to run test")
3232
@Test
3333
public void testInputWithOneRectangle() {
3434
String[] inputGrid = new String[]{
@@ -40,7 +40,7 @@ public void testInputWithOneRectangle() {
4040
assertEquals(1, rectangleCounter.countRectangles(inputGrid));
4141
}
4242

43-
@Ignore
43+
@Ignore("Remove to run test")
4444
@Test
4545
public void testInputWithTwoRectanglesWithoutSharedEdges() {
4646
String[] inputGrid = new String[]{
@@ -54,7 +54,7 @@ public void testInputWithTwoRectanglesWithoutSharedEdges() {
5454
assertEquals(2, rectangleCounter.countRectangles(inputGrid));
5555
}
5656

57-
@Ignore
57+
@Ignore("Remove to run test")
5858
@Test
5959
public void testInputWithFiveRectanglesWithSharedEdges() {
6060
String[] inputGrid = new String[]{
@@ -68,7 +68,7 @@ public void testInputWithFiveRectanglesWithSharedEdges() {
6868
assertEquals(5, rectangleCounter.countRectangles(inputGrid));
6969
}
7070

71-
@Ignore
71+
@Ignore("Remove to run test")
7272
@Test
7373
public void testThatRectangleOfHeightOneIsCounted() {
7474
String[] inputGrid = new String[]{
@@ -79,7 +79,7 @@ public void testThatRectangleOfHeightOneIsCounted() {
7979
assertEquals(1, rectangleCounter.countRectangles(inputGrid));
8080
}
8181

82-
@Ignore
82+
@Ignore("Remove to run test")
8383
@Test
8484
public void testThatRectangleOfWidthOneIsCounted() {
8585
String[] inputGrid = new String[]{
@@ -91,7 +91,7 @@ public void testThatRectangleOfWidthOneIsCounted() {
9191
assertEquals(1, rectangleCounter.countRectangles(inputGrid));
9292
}
9393

94-
@Ignore
94+
@Ignore("Remove to run test")
9595
@Test
9696
public void testThatOneByOneSquareIsCounted() {
9797
String[] inputGrid = new String[]{
@@ -102,7 +102,7 @@ public void testThatOneByOneSquareIsCounted() {
102102
assertEquals(1, rectangleCounter.countRectangles(inputGrid));
103103
}
104104

105-
@Ignore
105+
@Ignore("Remove to run test")
106106
@Test
107107
public void testThatIncompleteRectanglesAreNotCounted() {
108108
String[] inputGrid = new String[]{
@@ -116,7 +116,7 @@ public void testThatIncompleteRectanglesAreNotCounted() {
116116
assertEquals(1, rectangleCounter.countRectangles(inputGrid));
117117
}
118118

119-
@Ignore
119+
@Ignore("Remove to run test")
120120
@Test
121121
public void testThatRectanglesOfDifferentSizesAreAllCounted() {
122122
String[] inputGrid = new String[]{
@@ -130,7 +130,7 @@ public void testThatRectanglesOfDifferentSizesAreAllCounted() {
130130
assertEquals(3, rectangleCounter.countRectangles(inputGrid));
131131
}
132132

133-
@Ignore
133+
@Ignore("Remove to run test")
134134
@Test
135135
public void testThatIntersectionsWithoutCornerCharacterDoNotCountAsRectangleCorners() {
136136
String[] inputGrid = new String[]{
@@ -144,7 +144,7 @@ public void testThatIntersectionsWithoutCornerCharacterDoNotCountAsRectangleCorn
144144
assertEquals(2, rectangleCounter.countRectangles(inputGrid));
145145
}
146146

147-
@Ignore
147+
@Ignore("Remove to run test")
148148
@Test
149149
public void testLargeInputWithManyRectangles() {
150150
String[] inputGrid = new String[]{

0 commit comments

Comments
 (0)