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