Exemple #1
0
 def test_run_123K123(self):
     arg = [card(x) for x in [0,1,2,12,0+13,1+13,2+13]]
     self.assertEqual(mark_run(arg),3)
Exemple #2
0
 def test_run_135(self):
     arg = [card(x) for x in [0,2,4]]
     self.assertEqual(mark_run(arg),0)
Exemple #3
0
 def test_run_5Q34(self):
     arg = [card(x) for x in [4,11,2,3]]
     self.assertEqual(mark_run(arg),0)  
Exemple #4
0
 def test_run_45762(self):
     arg = [card(x) for x in [3,4,6,5,1]]
     self.assertEqual(mark_run(arg),4)
Exemple #5
0
 def test_run_2312(self):
     arg = [card(x) for x in [1,2,0,1+13]]
     self.assertEqual(mark_run(arg),0)
Exemple #6
0
 def test_run_K123(self):
     arg = [card(x) for x in [12,0,1,2]]
     self.assertEqual(mark_run(arg),0)
Exemple #7
0
 def test_run_3124(self):
     arg = [card(x) for x in [2,0,1,3]]
     self.assertEqual(mark_run(arg),4)