Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thanks for guidline. I'll try to solve everything over the weekend. Now I realy need to get some sleep before work. It is quite late were I'm.
It looks like I misunderstood you before. I tought you wanted more mix letter word tests as at that time all (apart one) were in uppercase..
Sorry about all this mess... I didn't expected what someone could change original solution I had. I changed description back to were it was as otherwise current Java version would make no sence... but now Rust version are incosistent to Java one.
@Blind4Basics honestly I don't know what should I do at this situation..
And now I'm reading it... Here are two languages for this kata and plenty of solutions taking in account mix letters (
'a' != 'A'
) and test.. I believe it would be easier to update description rather than change solution.I was trying to resolve issues without knowing what solution was changed... My bad I should read all posts but I didn't expect someone did change solution I had before. Now is a mess...
... and I thought I'll be happy finally getting my firs authored kata approved...
Sorry again. I did change description back to original as my Java solution was changed by someone and I cant update description as a new solution does not take that updated description into account...
Now Rust and Java versions are out of the sink... It is a mess I didn't expect. Not sure what should I do.
It is so strange, this kata was in beta for years and had quite a few reviews and plenty feedback, but as soon it went "production" stuff started to fall apart.. most shocking to me original code was completely changed, now existing solutions, even still works, doesn't make sense...
Apologies about it.
I didn't want to "change description" I did want to make it more "clear" and to close this issue :/
After I made description a bit more "clear" :) I checked your translation (JS) and noticed what I created the new issue by fixing issue...
I doubt... I do hope, here is anything else to "clarify" at description so I believe you are good to update your translations.
It is my first authored kata, so I'm still new to all this. Please try to understand me.
BTW what's the process to approve kata translation? All test pass means it good enough? I never used Haskell before so I can't know if the translation is good. In this case, should I pass verification to someone else?
All test folowing same pattern:
assert_eq!(expected, convert(s));
even random one.For the random test
expected
value is calculated when it is needed.If you believe your solution is right please post here the values you geting: input string, expected value and your calculated value (dont forget mark post as spoiler).
Without knowing thouse values I can't check if here is an issue with the test.
Thanks for your report.
Sorry about that.
Not long ago I was asked to include more test with lowercase letters. I forgot to check description if it still makes sence.
Anyway descriprion is updated now. Thanks for the report.
For consistency updated Rust version too.
I added extra random test to include lower case letters too (
[A-Za-z]
).BTW here was a first test with the word
String s = "CodeWars";
;)I believe it shouldn't matter what characters are given... Actualy I would like to see solution were it is matters.
Java translation I did it a while. Please check and if you happy approve it.
Rust translation I added some random test too. Please review and if you happy approve it.
Rust translation
Thank you for note :) should be fixed now.
Fixed. Thanks for pointing it.
Loading more items...