Exemplo n.º 1
0
class TestThickSludge(unittest.TestCase):
    def setUp(self):
        self.sludge = ThickSludge()

    def test_should_have_24_max_health(self):
        self.assertEqual(24, self.sludge.max_health)

    def test_should_appear_as_S_on_map(self):
        self.assertEqual("S", self.sludge.character)

    def test_should_have_the_name_Thick_Sludge(self):
        self.assertEqual("ThickSludge", self.sludge.name())
Exemplo n.º 2
0
 def setUp(self):
     self.sludge = ThickSludge()