mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-05-19 04:33:26 +02:00
14 lines
348 B
Python
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)
|