def testB_getchoice2 (self): b = Ballot([1, 2, 3]) b.marker += 1 self.assertEqual(b.getchoice(), 2)
def testB_getchoice1 (self): b = Ballot([1, 2, 3]) self.assertEqual(b.getchoice(), 1)