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.
I found a way to go around the test system and return true for all tests regardless what code you write.
if you just write this into katas, the tests will pass.
And in Python, you can also modify the Test class methods. It is not frozen like the Test class in Ruby.
I want to ask if anyone has a solution to one particular problem I've been having. I had to delete an older version of this kata, because everytime I tried to fix a bug then republish, I will get an error saying
Default Version is not a supported version
, even though I used the same version as the previous edits, which is always the latest.Anyone has seen this before or has an solution to this problem?
The only thing I figured out is to delete the kata and rewrite the whole thing.
i clarified what a hard 17 is. Hopefully that elminate any confusion.
added a ruby translation. let me know if there are any issues.
i squashed that bug like, well, a bug.
let me know if this works for you.
i fixed the issue
i forgot to change the cardValue function in the test to the function for the test. Damn copy and paste.
added the ruby translation. let me know how it is. thanks.
added a translation for javascript and random tests
translated to ruby, and added random tests.
Awesome. Thanks for the feedback.
The final test has the wrong result. It marked http://RANDOM http://OTHER as http://RANDOM http:" OTHER
ah, so simple.
I kept gettin this error whenever I tried to run the test cases or submit my code. I will only get output for the first case and then gets this error. Anyone else encounter this? Or know how to solve it? compare_bc is used as assert_equals. And I did not use gsub anywhere in my code.
compare_bc': undefined method
gsub' for nil:NilClass (NoMethodError)from `
Well, in certain situations, you need to generate the same sequence of random numbers.