Files
dungeon-sheets/tests/test_monsters.py
T
2021-04-16 11:28:05 -05:00

14 lines
348 B
Python

#!/usr/bin/env python
from unittest import TestCase
from dungeonsheets import monsters
class MonsterTestCase(TestCase):
def test_ability_scores(self):
wolf = monsters.Wolf()
self.assertEqual(wolf.strength.value, 12)
self.assertEqual(wolf.strength.modifier, 1)
self.assertEqual(wolf.strength.saving_throw, 1)