def test_small_straight(): score = 15 assert Yatzy.small_straight(1, 2, 3, 4, 5) == score assert Yatzy.small_straight(2, 3, 4, 5, 1) == score assert Yatzy.small_straight(1, 2, 5, 4, 3) == score assert Yatzy.small_straight(2, 1, 3, 5, 4) == score assert Yatzy.small_straight(5, 4, 3, 2, 1) == score assert Yatzy.small_straight(1, 6, 6, 5, 1) == 0
def test_small_straight(): assert 30 == Yatzy.small_straight([1, 2, 3, 4, 5]) assert 30 == Yatzy.small_straight([2, 3, 4, 5, 1]) assert 0 == Yatzy.small_straight([1, 2, 2, 4, 5])