Skip to content

Commit b9c2393

Browse files
committed
Added test
1 parent 83bc9f8 commit b9c2393

File tree

1 file changed

+7
-0
lines changed
  • src/test/java/g3101_3200/s3186_maximum_total_damage_with_spell_casting

1 file changed

+7
-0
lines changed

src/test/java/g3101_3200/s3186_maximum_total_damage_with_spell_casting/SolutionTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,11 @@ void maximumTotalDamage() {
1515
void maximumTotalDamage2() {
1616
assertThat(new Solution().maximumTotalDamage(new int[] {7, 1, 6, 6}), equalTo(13L));
1717
}
18+
19+
@Test
20+
void maximumTotalDamage3() {
21+
assertThat(
22+
new Solution().maximumTotalDamage(new int[] {1_000_001, 1, 6, 6}),
23+
equalTo(1000014L));
24+
}
1825
}

0 commit comments

Comments
 (0)