Пример #1
0
 def test_get_name_with_joker(self):
     c = Card(0, "Jokers")
     self.assertEqual(c.get_name(), "Joker")
Пример #2
0
 def test_get_face_name(self):
     c = Card(12, "Diamonds")
     self.assertEqual(c.get_name(), "Queen")
Пример #3
0
 def test_get_name(self):
     c = Card(2, "Clubs")
     self.assertEqual(c.get_name(), "2")