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.
No. There was not any reason for that. Test examples added in description.
Added one more test and changed the datatype (
int
=>long
) in random tests because of the parameter type in the method ExpandedForm.Go translation added. Let it go :)
Random tests added.
This comment is hidden because it contains spoiler information about the solution
Great catch! Thanks futhermore for noting about
pow
vs.sqrt
.Could you add these tests as additional basic tests for this kata?
In C# use, e.g:
Please add one more edge case test in C#:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In C# random tests should generate random numbers of type
long
since the methodEqSumPowDigSol
takes a parameter of type long, e.g:The pown function can cause an overflow exception, e.g:
Fixed it with other fork.
This comment is hidden because it contains spoiler information about the solution
Thanks for pointing out this issue. Added necessary import declarations for random tests.
Loading more items...