evennia.contrib.tutorials.evadventure.tests.test_rules
Test the rules and chargen.
-
class
evennia.contrib.tutorials.evadventure.tests.test_rules.
EvAdventureRollEngineTest
(methodName='runTest')[source]
Bases: evennia.utils.test_resources.BaseEvenniaTest
Test the roll engine in the rules module. This is the core of any RPG.
-
setUp
()[source]
Sets up testing environment
-
test_roll
(mock_randint)[source]
-
test_roll_limits
()[source]
-
test_roll_with_advantage_disadvantage
(mock_randint)[source]
-
test_saving_throw
(mock_randint)[source]
-
test_opposed_saving_throw
(mock_randint)[source]
-
test_roll_random_table
(mock_randint)[source]
-
test_morale_check
(mock_randint)[source]
-
test_heal_from_rest
(mock_randint)[source]
-
test_roll_death
(mock_randint)[source]