|
|
@@ -14,12 +14,20 @@ public class RectangleCounterTest {
|
|
14
|
14
|
}
|
|
15
|
15
|
|
|
16
|
16
|
@Test
|
|
17
|
|
- public void testInputWithNoColumnsContainsNoRectangles() {
|
|
|
17
|
+ public void testInputWithNoRowsContainsNoRectangles() {
|
|
18
|
18
|
String[] inputGrid = new String[]{};
|
|
19
|
19
|
|
|
20
|
20
|
assertEquals(0, rectangleCounter.countRectangles(inputGrid));
|
|
21
|
21
|
}
|
|
|
22
|
+
|
|
|
23
|
+ @Ignore("Remove to run test")
|
|
|
24
|
+ @Test
|
|
|
25
|
+ public void testInputWithNoColumnsContainsNoRectangles() {
|
|
|
26
|
+ String[] inputGrid = new String[]{""};
|
|
22
|
27
|
|
|
|
28
|
+ assertEquals(0, rectangleCounter.countRectangles(inputGrid));
|
|
|
29
|
+ }
|
|
|
30
|
+
|
|
23
|
31
|
@Ignore("Remove to run test")
|
|
24
|
32
|
@Test
|
|
25
|
33
|
public void testNonTrivialInputWithNoRectangles() {
|