Esempio n. 1
0
def test_full_house_vs_straight():
    assert session6.poker_winner(
        full_house_lists[5], straight_lists[1]
    ) == "Player1 Won", "Please check poker decide function"
Esempio n. 2
0
def test_full_house_vs_royalflush():
    assert session6.poker_winner(
        full_house_lists[1], royal_flush_lists[2]
    ) == "Player2 Won", "Please check poker decide function"
Esempio n. 3
0
def test_full_house_vs_threeofakind():
    assert session6.poker_winner(
        full_house_lists[2], three_of_a_kind_lists[3]
    ) == "Player1 Won", "Please check poker decide function"
Esempio n. 4
0
def test_four_of_a_kind_vs_flush():
    assert session6.poker_winner(
        four_of_a_kind_lists[3],
        flush_lists[3]) == "Player1 Won", "Please check poker decide function"
Esempio n. 5
0
def test_full_house_vs_fourofakind():
    assert session6.poker_winner(
        full_house_lists[0], four_of_a_kind_lists[0]
    ) == "Player2 Won", "Please check poker decide function"
Esempio n. 6
0
def test_four_of_a_kind_vs_straightflush():
    assert session6.poker_winner(
        four_of_a_kind_lists[1], straight_flush_lists[4]
    ) == "Player2 Won", "Please check poker decide function"
Esempio n. 7
0
def test_four_of_a_kind_vs_fullhouse():
    assert session6.poker_winner(
        four_of_a_kind_lists[2], full_house_lists[3]
    ) == "Player1 Won", "Please check poker decide function"
Esempio n. 8
0
def test_straight_flush_vs_pair():
    assert session6.poker_winner(
        straight_flush_lists[5],
        pair_lists[2]) == "Player1 Won", "Please check poker decide function"
Esempio n. 9
0
def test_four_of_a_kind_vs_royalflush():
    assert session6.poker_winner(
        four_of_a_kind_lists[0], royal_flush_lists[2]
    ) == "Player2 Won", "Please check poker decide function"
Esempio n. 10
0
def test_straight_flush_vs_fourofakind():
    assert session6.poker_winner(
        straight_flush_lists[3], four_of_a_kind_lists[2]
    ) == "Player1 Won", "Please check poker decide function"
Esempio n. 11
0
def test_straight_flush_vs_royalflush():
    assert session6.poker_winner(
        straight_flush_lists[0], royal_flush_lists[3]
    ) == "Player2 Won", "Please check poker decide function"
Esempio n. 12
0
def test_royalflush_vs_flush():
    assert session6.poker_winner(
        royal_flush_lists[3],
        flush_lists[1]) == "Player1 Won", "Please check poker decide function"
Esempio n. 13
0
def test_royalflush_vs_straight():
    assert session6.poker_winner(
        royal_flush_lists[2], straight_lists[2]
    ) == "Player1 Won", "Please check poker decide function"
Esempio n. 14
0
def test_royalflush_vs_fourofakind():
    assert session6.poker_winner(
        royal_flush_lists[1], four_of_a_kind_lists[1]
    ) == "Player1 Won", "Please check poker decide function"