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