class TestFaceDownCard(unittest.TestCase): def setUp(self): self.card = FaceDownCard() def test_all_connections_are_straight_through(self): """ All connections should be straight through to the other side of the card """ exp_connections = [ [0,3], [1,5], [2,4] ] self.assertEqual(self.card.getConnectedEndpoints(), exp_connections)
def setUp(self): self.card = FaceDownCard()