Update Beginner-Tutorial-Rules.md
Added missing parenthesis.
This commit is contained in:
parent
0fb67ccad9
commit
2776294e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ class TestEvAdventureRuleEngine(BaseEvenniaTest):
|
||||||
@patch("evadventure.rules.randint")
|
@patch("evadventure.rules.randint")
|
||||||
def test_roll(self, mock_randint):
|
def test_roll(self, mock_randint):
|
||||||
mock_randint.return_value = 4
|
mock_randint.return_value = 4
|
||||||
self.assertEqual(self.roll_engine.roll("1d6", 4)
|
self.assertEqual(self.roll_engine.roll("1d6", 4))
|
||||||
self.assertEqual(self.roll_engine.roll("2d6", 2 * 4)
|
self.assertEqual(self.roll_engine.roll("2d6", 2 * 4)
|
||||||
|
|
||||||
# test of the other rule methods below ...
|
# test of the other rule methods below ...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue