def test_sameDatatypeFalse4():
    total = generalSimilarity.sameDatatype(".docs", ".txt")
    assert total == 0
def test_sameDatatypeFalse3():
    total = generalSimilarity.sameDatatype(".tiff", ".geotiifff")
    assert total == 0
def test_sameDatatypeTRUE2():
    total = generalSimilarity.sameDatatype(".tif", ".geotif")
    assert total == 1
def test_sameDatatypeTRUE():
    total = generalSimilarity.sameDatatype(".txt", ".txt")
    assert total == 1
예제 #5
0
def test_sameDatatype():
    total = generalSimilarity.sameDatatype("abcd.docs", "abef.txt")
    assert total == 0
예제 #6
0
def test_sameDatatype():
    total = generalSimilarity.sameDatatype("abcd.tiff", "abef.geotiff")
    assert total == 0