Beispiel #1
0
def test_turn_tells_player_roll():
    # This should result in a roll of 4.
    random.seed(0)

    player = TestPlayer()
    turn = Turn(player)
    turn.go()
    assert player.rolls == [4]
Beispiel #2
0
def test_turn_tells_player_roll():
    # This should result in a roll of 4.
    random.seed(0)

    player = TestPlayer()
    turn = Turn(player)
    turn.go()
    assert player.rolls == [4]