Beispiel #1
0
def test_precedence_one_pair():
    assert main.find_rank(main.one_pair) == len(main.value_pair_list) - 7
Beispiel #2
0
def test_precedence_high_card():
    assert main.find_rank(main.high_card) == len(main.value_pair_list) - 8
Beispiel #3
0
def test_precedence_three_kind():
    assert main.find_rank(main.three_kind) == len(main.value_pair_list) - 6
Beispiel #4
0
def test_precedence_straight():
    assert main.find_rank(main.straight) == len(main.value_pair_list) - 5
Beispiel #5
0
def test_precedence_flush():
    assert main.find_rank(main.flush) == len(main.value_pair_list) - 4
Beispiel #6
0
def test_precedence_full_house():
    assert main.find_rank(main.full_house) == len(main.value_pair_list) - 3
Beispiel #7
0
def test_precedence_four_kind():
    assert main.find_rank(main.four_kind) == len(main.value_pair_list) - 2