I believe for scala
should be assert(Solution.zeros(14) == 1) not assert(Solution.zeros(14) == 2)
ooh well I had fixed that a while back.. :)
Well the kata didnt say negative natural numbers ?
-1961650628 did not equal 2333316668 for scala
Translated kata to scala
I have added random tests to approve same.
This comment is hidden because it contains spoiler information about the solution
All tests passed in PHP however on click on Attempt below error is returned
Failed asserting that two strings are equal. Expected: 'b' Actual : ''
Loading collection data...
I believe for scala
should be assert(Solution.zeros(14) == 1) not assert(Solution.zeros(14) == 2)
ooh well I had fixed that a while back.. :)
Well the kata didnt say negative natural numbers ?
-1961650628 did not equal 2333316668 for scala
Translated kata to scala
I have added random tests to approve same.
This comment is hidden because it contains spoiler information about the solution
All tests passed in PHP however on click on Attempt below error is returned
Failed asserting that two strings are equal.
Expected: 'b'
Actual : ''