コード例 #1
0
ファイル: test_bites.py プロジェクト: dcribb19/bitesofpy
def test_only_intro_bites(intro_bites, N, expected):
    actual = get_most_complex_bites(N, stats=intro_bites)
    # str or int for IDs is fine with us
    actual = [str(i) for i in actual]
    assert actual == expected
コード例 #2
0
ファイル: test_bites.py プロジェクト: dcribb19/bitesofpy
def test_different_args_for_N(N, expected):
    actual = get_most_complex_bites(N)
    # str or int for IDs is fine with us
    actual = [str(i) for i in actual]
    assert actual == expected