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)?
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)?
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++
a kata with clear instructions :)
rare to see nowadays.....thank you
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
Loading more items...