Skip to content

Commit 8ba8e5b

Browse files
committed
Added tests
1 parent 3a3b0ac commit 8ba8e5b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/test/java/g3501_3600/s3548_equal_sum_grid_partition_ii/SolutionTest.java

+24
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,28 @@ void canPartitionGrid4() {
3434
void canPartitionGrid5() {
3535
assertThat(new Solution().canPartitionGrid(new int[][] {{1}}), equalTo(false));
3636
}
37+
38+
@Test
39+
void canPartitionGrid6() {
40+
assertThat(
41+
new Solution().canPartitionGrid(new int[][] {{25372, 100000, 100000}}),
42+
equalTo(true));
43+
}
44+
45+
@Test
46+
void canPartitionGrid7() {
47+
assertThat(
48+
new Solution().canPartitionGrid(new int[][] {{100000, 100000, 100000, 100000, 1}}),
49+
equalTo(true));
50+
}
51+
52+
@Test
53+
void canPartitionGrid8() {
54+
assertThat(new Solution().canPartitionGrid(new int[][] {{55753, 55753}}), equalTo(true));
55+
}
56+
57+
@Test
58+
void canPartitionGrid9() {
59+
assertThat(new Solution().canPartitionGrid(new int[][] {{253, 10, 10}}), equalTo(true));
60+
}
3761
}

0 commit comments

Comments
 (0)