Skip to content

Commit

Permalink
support dice with any num sides
Browse files Browse the repository at this point in the history
  • Loading branch information
mmacy committed Jan 1, 2024
1 parent 0bcb4b9 commit 3ec7371
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/test_unit_dice_roller.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ def test_invalid_notation():
with pytest.raises(ValueError):
roll_dice("3dd6")


def test_invalid_sides():
"""Tests invalid number of sides.
Checks whether the roll_dice function raises a ValueError when the number of sides is invalid, i.e., '3d7'.
"""
with pytest.raises(ValueError):
roll_dice("3d7")


def test_with_modifier():
"""Tests dice notation with a positive modifier.
Expand Down

0 comments on commit 3ec7371

Please sign in to comment.