예제 #1
0
def test_9():
    n_players = 9
    last_marble = 92
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 107
예제 #2
0
def test_6():
    n_players = 30
    last_marble = 5807
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 37305
예제 #3
0
def test_8():
    n_players = 1
    last_marble = 48
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 95
예제 #4
0
def test_5():
    n_players = 21
    last_marble = 6111
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 54718
예제 #5
0
def test_1():
    n_players = 9
    last_marble = 25
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 32
예제 #6
0
def test_4():
    n_players = 17
    last_marble = 1104
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 2764
예제 #7
0
def test_3():
    n_players = 13
    last_marble = 7999
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 146373
예제 #8
0
def test_2():
    n_players = 10
    last_marble = 1618
    high_score = day9.play_marbles(n_players, last_marble)
    assert high_score == 8317