def testCardWithSameSuit(self): card1 = Card('T', 'D') card2 = Card('2', 'D') self.assertTrue(card1.sameSuitWith(card2))