Skip to content

Commit 1f08cc4

Browse files
committed
Added test
1 parent c022220 commit 1f08cc4

File tree

1 file changed

+5
-0
lines changed
  • src/test/java/g1801_1900/s1815_maximum_number_of_groups_getting_fresh_donuts

1 file changed

+5
-0
lines changed

src/test/java/g1801_1900/s1815_maximum_number_of_groups_getting_fresh_donuts/SolutionTest.java

+5
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ void maxHappyGroups4() {
4343
}),
4444
equalTo(9));
4545
}
46+
47+
@Test
48+
void maxHappyGroups5() {
49+
assertThat(new Solution().maxHappyGroups(1, new int[] {1, 2, 3}), equalTo(3));
50+
}
4651
}

0 commit comments

Comments
 (0)