def test_has_rings2(self): """ Test if a player has no rings. """ p = Player('w') p.set_rings([]) self.assertFalse(p.has_rings())
def test_has_rings3(self): """ Test if a player has multiple rings. """ p = Player('b') p.set_rings([(14, 19), (12, 2)]) self.assertTrue(p.has_rings())
def test_has_rings1(self): """ Test confirming a player has rings. """ p = Player('b') self.assertTrue(p.has_rings())