|
|
@@ -30,7 +30,7 @@ public class PascalsTriangleGeneratorTest {
|
|
30
|
30
|
assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(0));
|
|
31
|
31
|
}
|
|
32
|
32
|
|
|
33
|
|
- @Ignore
|
|
|
33
|
+ @Ignore("Remove to run test")
|
|
34
|
34
|
@Test
|
|
35
|
35
|
public void testTriangleWithOneRow() {
|
|
36
|
36
|
int[][] expectedOutput = new int[][]{
|
|
|
@@ -40,7 +40,7 @@ public class PascalsTriangleGeneratorTest {
|
|
40
|
40
|
assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(1));
|
|
41
|
41
|
}
|
|
42
|
42
|
|
|
43
|
|
- @Ignore
|
|
|
43
|
+ @Ignore("Remove to run test")
|
|
44
|
44
|
@Test
|
|
45
|
45
|
public void testTriangleWithTwoRows() {
|
|
46
|
46
|
int[][] expectedOutput = new int[][]{
|
|
|
@@ -51,7 +51,7 @@ public class PascalsTriangleGeneratorTest {
|
|
51
|
51
|
assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(2));
|
|
52
|
52
|
}
|
|
53
|
53
|
|
|
54
|
|
- @Ignore
|
|
|
54
|
+ @Ignore("Remove to run test")
|
|
55
|
55
|
@Test
|
|
56
|
56
|
public void testTriangleWithThreeRows() {
|
|
57
|
57
|
int[][] expectedOutput = new int[][]{
|
|
|
@@ -63,7 +63,7 @@ public class PascalsTriangleGeneratorTest {
|
|
63
|
63
|
assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(3));
|
|
64
|
64
|
}
|
|
65
|
65
|
|
|
66
|
|
- @Ignore
|
|
|
66
|
+ @Ignore("Remove to run test")
|
|
67
|
67
|
@Test
|
|
68
|
68
|
public void testTriangleWithFourRows() {
|
|
69
|
69
|
int[][] expectedOutput = new int[][]{
|
|
|
@@ -76,7 +76,7 @@ public class PascalsTriangleGeneratorTest {
|
|
76
|
76
|
assertArrayEquals(expectedOutput, pascalsTriangleGenerator.generateTriangle(4));
|
|
77
|
77
|
}
|
|
78
|
78
|
|
|
79
|
|
- @Ignore
|
|
|
79
|
+ @Ignore("Remove to run test")
|
|
80
|
80
|
@Test
|
|
81
|
81
|
public void testValidatesNotNegativeRows() {
|
|
82
|
82
|
thrown.expect(IllegalArgumentException.class);
|