Esempio n. 1
0
def test_fourgrams():

    f = fourgrams('ab')
    print(f)

    assert f[0] == ('#', '#', '#', 'a')
    assert f[-1] == ('b', '$', '$', '$')
Esempio n. 2
0
def test_fourgrams():
    
    f = fourgrams('ab')
    print(f)

    assert f[0] == ('#','#','#','a')
    assert f[-1] == ('b','$','$','$')