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