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.
Good kata for trying again in different ways, with different approaches
Quite complicated task but then solved successfully in c++.
Your code is buggy. It performs incorrect operations for this test case:
Assert::That(string_expansion("1a1"), Equals("a"));
.Your solution has a bug, it's not a kata issue.
yes, you can post your code here, just remember to use code blocks.
Expected: equal to "MMMMMPPPPPPPP" Actual: "MMMMMPPPPPPPP
what the hell is that? notice the missing double quotation mark at the end of my result (aka actual result), how is this possible, noting that my result is complete (same word between the quotation)?
is it ok to show you mine?
This means that most probably strings returned by you are corrupted in some way at the end. It's difficult to tell how exactly without seeing your code.
Expected: equal to "MMMMMPPPPPPPP"
Actual: "MMMMMPPPPPPPP
what the hell is that?
notice the missing double quotation mark at the end of my result (aka actual result),
how is this possible, noting that my result is complete (same word between the quotation)?
Issue with your code is not a kata issue, OP solved it, closing
banger kata
Getting correct output in visual studio but when I attempt the solution I get wrong answer on the attempt and the string is missing a letter although it's working on visual studio
I'm using c++
Really enjoyable kata. Thanks!
Nice and easy to understand too! :)
Python fixed (changed to 100 random tests)
Ruby also
Update Python test framework
One thing I'm not sure is that it has 1000 random tests! A little bit too much IMO. Maybe we should cut it down?
Loading more items...