But that solution makes this one a duplicate of Disemvowel trolls or am I wrong? I think a better solution would be testing with both lowercase and uppercase and only removing lowercase, I know it's not that much a difference, but better than nothing.
Also, at least IMO:
Don't worry about uppercase vowels.
is a little ambiguous, does it mean you'll only receive lowercase letters or you don't need to remove the uppercase letters? The tests should be different between those two options.
kata suggestion != kata solution ~~
Five years have passed and have not been fixed.
This comment is hidden because it contains spoiler information about the solution
6666
Maybe only 2 tests are passing? You need to return the result, not print it. Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
Hi,
Not an issue, that's your approach that is incorrect. Print the inputs so that you can see why this is incorrect. Closing.
cheers
My solution hasn't passed all of basic tests, although it based on following assertion:
If
n * m = c
, thena / c = a / (n * m)
My code is:
But tests fails, and I think that is tests issues. What's wrong with it?
膜拜大佬。。。
sometimes
Clojure translation
https://www.codewars.com/kumite/5fb5398207abc400263d5b73?sel=5fb5398207abc400263d5b73
It would be nice to cover uppercase letters in testing as well:
Test.expect(shortcut('ignore UppercAse') == 'gnr UpprcAs', 'uppercase vowels should be ignored');
But that solution makes this one a duplicate of Disemvowel trolls or am I wrong? I think a better solution would be testing with both lowercase and uppercase and only removing lowercase, I know it's not that much a difference, but better than nothing.
Also, at least IMO:
is a little ambiguous, does it mean you'll only receive lowercase letters or you don't need to remove the uppercase letters? The tests should be different between those two options.
It looks like the "solution" was to add a note to the Description saying "don't worry about uppercase vowels".
This is still an issue, solutions that remove all vowels randomly pass. Specific tests should be added.
Loading more items...