class TestParticipant(unittest.TestCase): def setUp(self): self.participant = Participant("PartName"); def testParticipantInit(self): self.assertEqual(self.participant.getName(), "PartName")
def setUp(self): self.participant = Participant("PartName")
def setUp(self): self.participant = Participant("PartName");
class TestParticipant(unittest.TestCase): def setUp(self): self.participant = Participant("PartName") def testParticipantInit(self): self.assertEqual(self.participant.getName(), "PartName")
def setUp(self): self.match = Match("MatchName") self.participant1 = Participant("Part1")