Example #1
0
 def test_card_symbol(self):
     testCard = Card('Spades', 'Jack')
     result = testCard.card_symbol()
     self.assertEqual(result, 'S')
Example #2
0
 def test_card_symbol3(self):
     testCard = Card('Diamonds', 'Jack')
     result = testCard.card_symbol()
     self.assertEqual(result, 'D')
Example #3
0
 def test_card_symbol4(self):
     testCard = Card('Clubs', 'Jack')
     result = testCard.card_symbol()
     self.assertEqual(result, 'C')
Example #4
0
 def test_card_symbol2(self):
     testCard = Card('Hearts', 'Jack')
     result = testCard.card_symbol()
     self.assertEqual(result, 'H')