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?
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