moduleVowelTestexposing(suite)importExpectexposing(equal)importTestexposing(Test,describe,test)importVowelexposing(getLongestVowelSize)suite:Testsuite=describe"Vowel"[test"Should return 0 for a string with no vowels"<|\_->equal0<|getLongestVowelSize"bcdfgh",test"Should return 1 for a string with a one-vowel substring"<|\_->equal1<|getLongestVowelSize"abcdefghij",test"Should return 2 for a string with a two-vowel substring"<|\_->equal2<|getLongestVowelSize"codewarriors"]
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Elm
Tests