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.
This comment is hidden because it contains spoiler information about the solution
My solution times out against the random tests too every time (Kotlin).
On my computer even for very long arrays it completes in under 1 second :(
Kotlin test cases:
input string: "10001010111110001000011110011100"
vs.
"You can assume that all inputs are valid."
What is the expected output of this?
Kotlin random tests seem to contain Integer overflows in their expectations, causing valid solution to fail.
My code supports the entire history of versions.
For example
assertEquals("0.0.1", VersionManager().patch().patch().rollback().rollback().release())
holds.Also what do you say to the test error message which states that a method call has been returned?
Pretty sure looks to me like some reflection issue.
First of all this is a really nice Kata which I enjoyed, thanks for that! :)
Still cannot get it submitted (Java translation), although I think I have a rather stable implementation.
The random tests are always failing with smth like
expected:<[53.4.63]> but was:<[VersionManager.patch()]>
.It appears to me as if there is some reflection magic at work, which does not seem correct.
Can you have a look?
This comment is hidden because it contains spoiler information about the solution
Thanks for explaining! :)
This comment is hidden because it contains spoiler information about the solution
Ok then I have no idea what's wrong with my code :(
I dumped out the input arrays, and got this one as the test which fails.
Unfortunately the error message
expected:<true> but was:<false>
is not helping much.This comment is hidden because it contains spoiler information about the solution
Do you think adding more random tests will add any value to the translation?
I'll have a look though...
Please moderators approve :)
I agree some more Test cases then this can be approved.
Author seems to be inactive though, needs to be forked.
Moderators please approve :)
Loading more items...