def test_strike(self): character = Character('Test', 100, 10) opponent = Character('opponent', 100, 10) character.strike(opponent) self.assertEqual(opponent.hp, 90)