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