From 397206c9dc5e4c572f6152264b38e4ebc0b9cc2d Mon Sep 17 00:00:00 2001 From: cl0ne Date: Wed, 22 Jan 2020 17:02:48 +0200 Subject: [PATCH] [roll] More tests for d100 --- tests/test_dice_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_dice_parser.py b/tests/test_dice_parser.py index 7b5ca0d..00502f6 100644 --- a/tests/test_dice_parser.py +++ b/tests/test_dice_parser.py @@ -113,7 +113,8 @@ class DiceParserTest(unittest.TestCase): @mock.patch('random.randint', return_value=1) def test_get_result(self, randint): for roll_count, sides, modifier in ( - (1, 2, 0), (3, 6, 0), (3, 6, -1), (3, 6, +1), (5, 10, -10), (5, 10, +10) + (1, 2, 0), (3, 6, 0), (3, 6, -1), (3, 6, +1), (5, 10, -10), (5, 10, +10), + (1, 100, 0), (5, 100, -5), (10, 100, 0), (2, 100, 10) ): with self.subTest(rolls=roll_count, sides=sides, modifier=modifier): d = Dice(roll_count, sides, modifier)