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.
sounds like the assertions are still reversed... Weird... :/
Even if I don't do C#, I can tell you that this is a pretty bad design, for what you're currently doing:
That's a global variable, and you don't use it correctly, afaik.
So now, since you still don't provide all the info... I just can tell you this:
"-----"
at the beginning of your function, to be sure the data you use for debugging is trustable.good luck. ;)
here is what I get in python:
{'a': 1, 'b': 0, 'c': 0, 'd': 1}
Seems the C# ref solution is expecting the very same (kind of not sure about the registers names, since I don't do C# myself, but I'm sure there are 4 values and that there are 1,0,0,1... x) )
First things first: if you wanna get help, you need to be precise about the problem you're facing. Here you're always giving only half (if not less) of all the useful information.
See the generic message below (it's about the Issue/Question flags, but you'll see there all the required stuff in order we can track the thing):
Seems you're "rather new" to cw, so here are some general guidelines about the comments:
Issue
: problem in the kata itself (description, wrong tests, wrong internal solution...)Suggestions
: well, I guess that part is clearQuestion
anything else that is related to you having a problem solving a kata -> that's you, currently.When you post issues:
When you post a question: well, most of the above apply too x)
When you post code, use proper github markdown, so that it's readable.
I'll try your input program in a sec...
" 'later"
That's what I thought: expected and actual were swapped in the random tests. So your code is the wrong one, returning the a,b,c stuff.
I updated the tests.
Hi,