8000 add test for 59 · zhahui/fishercoder1534-Leetcode@3deaa87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3deaa87

Browse files
fishercoder1534zhahui
authored andcommitted
add test for 59
1 parent 59ed7da commit 3deaa87

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.fishercoder;
2+
3+
import com.fishercoder.common.utils.CommonUtils;
4+
import com.fishercoder.solutions._59;
5+
import org.junit.BeforeClass;
6+
import org.junit.Test;
7+
8+
public class _59Test {
9+
private static _59.Solution1 solution1;
10+
private static int[][] matrix;
11+
12+
@BeforeClass
13+
public static void setup() {
14+
solution1 = new _59.Solution1();
15+
}
16+
17+
@Test
18+
public void test1() {
19+
matrix = solution1.generateMatrix(6);
20+
CommonUtils.print2DIntArray(matrix);
21+
}
22+
}

0 commit comments

Comments
 (0)
0