Exemple #1
0
def test_autocorrect_word6():
    assert rb.autocorrect_word("evalueate", tot_words_dict)[0] == "evaluate"
Exemple #2
0
def test_autocorrect_word5():
    assert rb.autocorrect_word("texxxxt", tot_words_dict)[0] == "text"
Exemple #3
0
def test_autocorrect_word4():
    assert rb.autocorrect_word("on lion", tot_words_dict)[0] == "online"
Exemple #4
0
def test_autocorrect_word3():
    assert rb.autocorrect_word("yotbe", tot_words_dict)[0] == "youtube"
Exemple #5
0
def test_autocorrect_word2():
    assert rb.autocorrect_word("mosicss", tot_words_dict)[0] == "music"
Exemple #6
0
def test_autocorrect_word1():
    assert rb.autocorrect_word("mozfirefox", tot_words_dict)[0] == "firefox"