# evennia.contrib.tutorials.evadventure.tests.test_rules

Test the rules and chargen.

class `evennia.contrib.tutorials.evadventure.tests.test_rules.``EvAdventureRollEngineTest`(methodName='runTest')

  Bases: `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)