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.
woah, okay. tried out what Chrono79 Suggested. got error and now I am confused. Any hints why could that be happening?
Test Failed
Expected string length 217 but was 230. Strings differ at index 147.
Expected: "...9000000000000 + 70000000000 + 8000000000 + 50000000 + 3000..."
But was: "...9000000000000 + 70000000000 + -4000000000 + -600000000 + 5..."
------------------------------------------------------------------^
Also Tried this:
Assert.That(Kata.ExpandedForm(60000000000000009), Is.EqualTo("60000000000000000 + 9"));
Test Failed
Expected string length 21 but was 65. Strings differ at index 20.
Expected: "...0000000000000 + 9"
But was: "...0000000000000 + 40000000 + -4000000 + -20000 + 200 + -40 + -5"
------------------------------^
How would we know if you don't say which language you are using and you don't show your code either?
Post it here using proper markdown and marking your post as having spoiler content if you ask for help.
How is it that i am getting incorrect answer when i try my code here but correct when i run the same code in my computer?
Thanks, it was my code.
Can you please let me know there is an issue with the testing? Kata is in php. Thanks
testRandom
Failed asserting that two strings are equal.
Expected: '6000000000000000000 + 600000000000000000 + 60000000000000000 + 8000000000000000 + 500000000000000 + 70000000000000 + 9000000000000 + 70000000000 + 8000000000 + 50000000 + 3000000 + 800000 + 20000 + 2000 + 400 + 60 + 5'
Actual : '6000000000000000000 + 600000000000000000 + 60000000000000000 + 8000000000000000 + 500000000000000 + 70000000000000 + 9000000000000 + 70000000000 + 8000000000 + 50000000 + 3000000 + 800000 + 20000 + 2000 + 400 + 20 + 5'
How is that possible? Code passes all the other tests