Example #1
0
def test_empty_list():
    result = vowelnames.find_vowel_names([])
    assert(result == 0 )
Example #2
0
def test_one_name():
    #test a non-matching line
    result = vowelnames.find_vowel_names(["E8798mma,F,201"])
    assert(result == 0) 
Example #3
0
import re
import vowelnames

f = open("yob2013.txt", "r")

print vowelnames.find_vowel_names(f)