def test_large_straight(): score = 20 assert Yatzy.large_straight(6, 2, 3, 4, 5) == score assert Yatzy.large_straight(2, 3, 4, 5, 6) == score assert Yatzy.large_straight(3, 5, 2, 6, 4) == score assert Yatzy.large_straight(6, 2, 5, 3, 4) == score assert Yatzy.large_straight(5, 6, 3, 4, 2) == score assert Yatzy.large_straight(1, 2, 2, 4, 5) == 0
def test_large_straight(): assert 40 == Yatzy.large_straight([6, 2, 3, 4, 5]) assert 40 == Yatzy.large_straight([2, 3, 4, 5, 6]) assert 0 == Yatzy.large_straight([1, 2, 2, 4, 5])