I think, that should raise exception when name is too short, no "Error: Name too short"
If somebody will use that method, and trust us that it returns nickname, and for example gives the name Ula he gots "Error: Name too short"
Nobody wants that nickname :D
@cboha I've made a few modifications including random tests, boundary testing, changes/tweeks (such as 'y' is not a vowel and input length < 4 etc). Feel free to undo any of the changes I have made if you disagree with them.
Description should be language-agnostic
Duplicate suggestion
.
Python new test framework should be used.
C# translation ready! Please review and approve.
C# translation ready! Please review and approve.
APPROVED SOME TIME AGO
Ok thank you for your explanation, I don't get the logic yet but I will think about it in future katas !
'Y' is sometimes considered a semivowel, but when only two categories (vowels / consonants) are considered, 'Y' is usually categorized as consonants.
"Y" is not a vowel in english ???
I don't understand, in french it is...
Approved
I think, that should raise exception when name is too short, no "Error: Name too short"
If somebody will use that method, and trust us that it returns nickname, and for example gives the name Ula he gots "Error: Name too short"
Nobody wants that nickname :D
Ruby translation, please check and accept. :-)
It look like @AcesOfGlory has made a Python translations too.
@AcesOfGlory Thanks a lot! It looks great.
@cboha
I've made a few modifications including random tests, boundary testing, changes/tweeks (such as 'y' is not a vowel and input length < 4 etc). Feel free to undo any of the changes I have made if you disagree with them.Cheers!
Loading more items...