Example #1
0
def test_vowels_onomatopoeia():
    assert vowels.vowels('Onomatopoeia') == 8
Example #2
0
def test_vowels():
    assert vowels.vowels('abolition') == 5
Example #3
0
def test_vowels_uppercase():
    assert vowels.vowels('Onomatopoeia') == 8
Example #4
0
def test_no_vowels():
    assert vowels.vowels("my") == 0
Example #5
0
def test_vowels():
    assert vowels.vowels("start") == 1
Example #6
0
def test_vowels_none():
    assert vowels.vowels('rhythm') == 0
Example #7
0
def test_vowels_single():
    assert vowels.vowels('me') == 1
Example #8
0
def test_vowels_seven():
    assert vowels.vowels('absolutely amazing') == 7
Example #9
0
def test_vowels():
    assert vowels.vowels("aeiou") == 5
Example #10
0
def test_vowels_with_vowels():
    assert vowels.vowels('start') == 1
Example #11
0
def test_vowels_with_no_vowels():
    assert vowels.vowels('zxcfgy') == 0
def test_vowel_word():
    assert vowels.vowels("hello") == 2