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.
gezz, how is this easy =[
C translation (author inactive)
Yes, I aproved it.
But then I got lost in fixing the test cases for it, and then fixing the test cases for all the translations.
approved by someone
Clojure translation Please check and approve it.
I changed it and just used range instead.
Just do something like
((rand-int 1999) - 999)
, I guess.You were correct, I was only testing a with the solver function.
It is because I was using rand-int for both. I changed it so there is now a mix of positive and negatives within one test.
Looks like there is a small bug with negative number test names. Or is it a bug in your
Solver
function?As you are only using the
Solver
function on the a test and putting it as the expected value for both.By the way, why can't you mix positive and negative numbers in one est?
Thanks for the feedback.
I added higher numbers, more numbers and negative ones as well.
Replied with some feedback.
Random test needs higher numbers and negative numbers.
At least make the random numbers go between
-999
and999
, maybe more than 5 numbers too?clojure translation