Ejemplo n.º 1
0
def test_war_size():
    game = War(war_size=5, human=False)
    game.play_round()  #Play first to shuffle hand
    game.war()
    n.assert_equal(len(game.pot), 10)
Ejemplo n.º 2
0
def test_war_size():
    game = War(war_size=5, human=False)
    game.play_round() #Play first to shuffle hand
    game.war()
    n.assert_equal(len(game.pot), 10)
Ejemplo n.º 3
0
def test_play_round():
    game = War(human=False)
    game.play_round()
    n.assert_equal(len(game.player1) + len(game.player2), 52)
Ejemplo n.º 4
0
def test_play_round():
    game = War(human=False)
    game.play_round()
    n.assert_equal(len(game.player1) + len(game.player2), 52)