Beispiel #1
0
 def test_verify_bid_7(self):
     bid1 = [10, 2]
     bid2 = [10, 1]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #2
0
 def test_verify_bid_4(self):
     bid1 = [3, 4]
     bid2 = [3, 4]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #3
0
 def test_verify_bid_6(self):
     bid1 = [3, 1]
     bid2 = [4, 3]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #4
0
 def test_verify_bid_3(self):
     bid1 = [3, 3]
     bid2 = [3, 4]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #5
0
 def test_verify_bid_3(self):
     bid1 = [3, 3]
     bid2 = [3, 4]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #6
0
 def test_AI_bet_up_quantity(self):
     dice_number = 36
     last_bet = [4, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #7
0
 def test_AI_bet_call_lie(self):
     dice_number = 36
     last_bet = [7, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #8
0
 def test_AI_bet_up_quantity(self):
     dice_number = 36
     last_bet = [4, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #9
0
 def test_AI_bet_up_value_perudo(self):
     dice_number = 36
     last_bet = [6, 6]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #10
0
 def test_verify_bid_8(self):
     bid1 = [10, 1]
     bid2 = [1, 3]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #11
0
 def test_verify_bid_10(self):
     bid1 = [2, 1]
     bid2 = [2, 2]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #12
0
 def test_verify_bid_7(self):
     bid1 = [10, 2]
     bid2 = [10, 1]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #13
0
 def test_verify_bid_6(self):
     bid1 = [3, 1]
     bid2 = [4, 3]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #14
0
 def test_verify_bid_4(self):
     bid1 = [3, 4]
     bid2 = [3, 4]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #15
0
 def test_verify_bid_8(self):
     bid1 = [10, 1]
     bid2 = [1, 3]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #16
0
 def test_AI_bet_call_lie(self):
     dice_number = 36
     last_bet = [7, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #17
0
 def test_verify_bid_10(self):
     bid1 = [2, 1]
     bid2 = [2, 2]
     self.assertFalse(Utils.verify_bet(bid1, bid2))
Beispiel #18
0
 def test_AI_bet_call_lie_decimal(self):
     dice_number = 32
     last_bet = [5, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #19
0
 def test_AI_bet_up_value_perudo(self):
     dice_number = 36
     last_bet = [6, 6]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #20
0
 def test_verify_bid_1(self):
     bid1 = [0, 0]
     bid2 = [2, 3]
     self.assertTrue(Utils.verify_bet(bid1, bid2))
Beispiel #21
0
 def test_AI_bet_call_lie_decimal(self):
     dice_number = 32
     last_bet = [5, 1]
     ai_bet = Utils.AI_bet(last_bet, dice_number)
     self.assertTrue(Utils.verify_bet(last_bet, ai_bet))
Beispiel #22
0
 def test_verify_bid_1(self):
     bid1 = [0, 0]
     bid2 = [2, 3]
     self.assertTrue(Utils.verify_bet(bid1, bid2))