Skip to content

Commit bb192dd

Browse files
committed
Added test
1 parent 051fe4f commit bb192dd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/test/java/g3601_3700/s3625_count_number_of_trapezoids_ii/SolutionTest.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,21 @@ void countTrapezoids2() {
2020
new Solution().countTrapezoids(new int[][] {{0, 0}, {1, 0}, {0, 1}, {2, 1}}),
2121
equalTo(1));
2222
}
23+
24+
@Test
25+
void countTrapezoids3() {
26+
assertThat(
27+
new Solution()
28+
.countTrapezoids(
29+
new int[][] {
30+
{71, -89},
31+
{-75, -89},
32+
{-9, 11},
33+
{-24, -89},
34+
{-51, -89},
35+
{-77, -89},
36+
{42, 11}
37+
}),
38+
equalTo(10));
39+
}
2340
}

0 commit comments

Comments
 (0)