Skip to content

Commit

Permalink
dnd-character: Add test case for ability with lowest number occurring…
Browse files Browse the repository at this point in the history
… twice
  • Loading branch information
kahgoh committed May 5, 2024
1 parent ce49275 commit d169647
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ public void testAbilityCalculationsWithHighestEqualNumbers() {
assertThat(dndCharacter.ability(List.of(6, 6, 6, 6))).isEqualTo(18);
}

@Disabled("Remove to run test")
@Test
public void testAbilityCalculationsWithTwoLowestNumbers() {
assertThat(dndCharacter.ability(List.of(3, 5, 3, 4))).isEqualTo(12);
}

@Disabled("Remove to run test")
@Test
public void testAbilityCalculationDoesNotChangeInputScores() {
Expand Down

0 comments on commit d169647

Please sign in to comment.