def setUp(self): """ Sets up cards for the tests. """ self.cardA = Card({"Color": "purple", "Number": "2", "Shape": "square", "Fill": "empty"}) self.cardA2 = Card({"Color": "purple", "Number": "2", "Shape": "square", "Fill": "empty"}) self.cardB = Card({"Color": "blue", "Number": "1", "Shape": "circle", "Fill": "lines"}) self.cardC = Card({"Color": "black", "Direction": "west", "Polarity": "negative", "Temperature": "cold"}) self.cardD = Card({"Color": "teal", "Direction": "south", "Polarity": "positive"}) self.cardE = Card({"Color": "teal", "Direction": "south", "Polarity": "positive", "Temperature": "hot"})