Example #1
0
 def test_card3(self):
     card = Card("5", "s")
     assert card.get_rank() == "5"
     assert card.get_rank() != "T"
     assert card.get_rank() != "6"
     assert card.get_rank() != "s"
     assert card.get_rank() != "c"
Example #2
0
 def test_card2(self):
     card = Card("6", "d")
     assert card.get_rank() == "6"
     assert card.get_rank() != "d"
Example #3
0
 def test_card1(self):
     card = Card("A", "s")
     assert card.get_rank() == "A"
     assert card.get_rank() != "s"