def test_three_of_a_kind(): assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 4, 5) assert 15 == Yatzy.three_of_a_kind(5, 3, 5, 4, 5) assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 3, 5)
def test_three_of_a_kind(): assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 4, 5) assert 0 == Yatzy.three_of_a_kind(3, 3, 4, 5, 6) assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 3, 1) assert 0 == Yatzy.three_of_a_kind(1, 2, 3, 4, 5)
def test_three_of_a_kind(): assert Yatzy.three_of_a_kind(3, 3, 3, 4, 5) == 9 assert Yatzy.three_of_a_kind(5, 3, 5, 4, 5) == 15 assert Yatzy.three_of_a_kind(3, 3, 3, 3, 5) == 9
def test_three_of_a_kind(): assert 9 == Yatzy.three_of_a_kind(3, 4, 3, 5, 3) assert 18 == Yatzy.three_of_a_kind(2, 3, 6, 6, 6) assert 0 == Yatzy.three_of_a_kind(6, 6, 4, 3, 2)
def test_three_of_a_kind(): ### Suma 3 cartas iguales ### assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 4, 5) assert 0 == Yatzy.three_of_a_kind(3, 3, 4, 5, 6) assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 3, 1) assert 0 == Yatzy.three_of_a_kind(1, 2, 3, 4, 5)
def test_three_of_a_kind(): assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 4, 5) assert 15 == Yatzy.three_of_a_kind(5, 3, 5, 4, 5) assert 9 == Yatzy.three_of_a_kind(3, 3, 3, 3, 5)