Пример #1
0
 def test_totalartillery(self):
     expected = 14
     self.assertEqual(expected, CV().maxArtillery)
Пример #2
0
 def test_totalnumberofcards(self):
     expected = CV().cardsTotalNum
     self.assertEqual(expected, Cards().getcardstotal())
Пример #3
0
 def test_totalchivalry(self):
     expected = 14
     self.assertEqual(expected, CV().maxChivalry)
Пример #4
0
 def test_totalinfantery(self):
     expected = 14
     self.assertEqual(expected, CV().maxInfantry)
Пример #5
0
 def test_totaljokers(self):
     expected = 2
     self.assertEqual(expected, CV().maxJokers)
Пример #6
0
 def numberofplayersok(self, numPlayers):
     if (numPlayers >= CV().minPlayers) and (numPlayers <= CV().maxPlayers):
         return True
     return False
Пример #7
0
 def getcardstotal(self):
     return CV().cardsTotalNum