コード例 #1
0
ファイル: test.py プロジェクト: HaowenLee/PokerRemnants
def test_gen_type_12_serial_3_2():
    mg = MovesGener(format_input_cards(c))
    print(mg.gen_type_12_serial_3_2())
コード例 #2
0
ファイル: test.py プロジェクト: HaowenLee/PokerRemnants
def test_gen_type_10_serial_triple():
    mg = MovesGener(format_input_cards(c))
    print(mg.gen_type_10_serial_triple(repeat_num=2))
コード例 #3
0
ファイル: test.py プロジェクト: HaowenLee/PokerRemnants
def test_gen_type_9_serial_pair():
    mg = MovesGener(format_input_cards(c))
    print(mg.gen_type_9_serial_pair(repeat_num=5))
コード例 #4
0
ファイル: test.py プロジェクト: HaowenLee/PokerRemnants
def test_gen_type_8_serial_single():
    mg = MovesGener(format_input_cards(c))
    print(mg.gen_type_8_serial_single(repeat_num=7))
コード例 #5
0
ファイル: test.py プロジェクト: HaowenLee/PokerRemnants
def test_MoveGener():
    print(format_input_cards(c))
    mg = MovesGener(format_input_cards(c))
    moves = mg.gen_moves()
    # print(moves)
    print(len(moves))
コード例 #6
0
ファイル: test.py プロジェクト: wjmtgg/WeChat_LandLords
def test_gen_type_13_4_2():
    mg = MovesGener(format_input_cards(c))
    result = mg.gen_type_13_4_2()
    print(result)
    print("Total number = %s" % len(result))