def test_fullHouse():
    assert Yatzy.fullHouse(6, 2, 2, 2, 6) == 18
    assert Yatzy.fullHouse(2, 3, 4, 5, 6) == 0
    assert Yatzy.fullHouse(6, 2, 1, 2, 6) == 0
    assert Yatzy.fullHouse(6, 2, 6, 1, 6) == 0
    assert Yatzy.fullHouse(6, 6, 2, 2, 2) == 18
    assert Yatzy.fullHouse(6, 6, 6, 2, 2) == 22
    assert Yatzy.fullHouse(1, 2, 3, 1, 6) == 0
示例#2
0
def test_fullHouse():
    assert 25 == Yatzy.fullHouse(6, 2, 2, 2, 6)
    assert 0 == Yatzy.fullHouse(2, 3, 4, 5, 6)
示例#3
0
def test_fullHouse():
    assert 18 == Yatzy.fullHouse(6, 2, 2, 2, 6)
    assert 0 == Yatzy.fullHouse(2, 3, 4, 5, 6)
    assert 8 == Yatzy.fullHouse(1, 1, 2, 2, 2)
    assert 0 == Yatzy.fullHouse(2, 2, 3, 3, 4)
    assert 0 == Yatzy.fullHouse(4, 4, 4, 4, 4)
示例#4
0
def test_fullHouse():
    assert 13 == Yatzy.fullHouse(3, 3, 3, 2, 2)
    assert 0 == Yatzy.fullHouse(2, 3, 1, 4, 5)
    assert 24 == Yatzy.fullHouse(6, 6, 6, 3, 3)
    assert 16 == Yatzy.fullHouse(2, 2, 2, 5, 5)
def test_fullHouse():
    assert 18 == Yatzy.fullHouse(6, 2, 2, 2, 6)
    assert 0 == Yatzy.fullHouse(2, 3, 4, 5, 6)