示例#1
0
def test_file_eighteen():
    assert predict_language('tests/18', pipe, target_names) == 'haskell'
示例#2
0
def test_file_nineteen():
    assert predict_language('tests/19', pipe, target_names) == 'scheme'
示例#3
0
def test_file_fifteen():
    assert predict_language('tests/15', pipe, target_names) == 'ruby'
示例#4
0
def test_file_seventeen():
    assert predict_language('tests/17', pipe, target_names) == 'haskell'
示例#5
0
def test_file_twentyeight():
    assert predict_language('tests/28', pipe, target_names) == 'php'
示例#6
0
def test_file_twelve():
    assert predict_language('tests/12', pipe, target_names) == 'javascript'
示例#7
0
def test_file_eight():
    assert predict_language('tests/8', pipe, target_names) == 'python'
示例#8
0
def test_file_twentythree():
    assert predict_language('tests/23', pipe, target_names) == 'java'
示例#9
0
def test_file_five():
    assert predict_language('tests/5', pipe, target_names) == 'python'
示例#10
0
def test_file_seven():
    assert predict_language('tests/7', pipe, target_names) == 'python'
示例#11
0
def test_file_thirtytwo():
    assert predict_language('tests/32', pipe, target_names) == 'ocaml'
示例#12
0
def test_file_thirty():
    assert predict_language('tests/30', pipe, target_names) == 'php'
示例#13
0
def test_file_twentynine():
    assert predict_language('tests/29', pipe, target_names) == 'php'
示例#14
0
def test_file_twentyone():
    assert predict_language('tests/21', pipe, target_names) == 'scheme'
示例#15
0
def test_file_nine():
    assert predict_language('tests/9', pipe, target_names) == 'javascript'
示例#16
0
def test_file_two():
    assert predict_language('tests/2', pipe, target_names) == 'clojure'
示例#17
0
def test_file_eleven():
    assert predict_language('tests/11', pipe, target_names) == 'javascript'
示例#18
0
def test_file_twentyfour():
    assert predict_language('tests/24', pipe, target_names) == 'scala'
示例#19
0
def test_file_twentyseven():
    assert predict_language('tests/27', pipe, target_names) == 'tcl'