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