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.
Python new test framework should be used
@test
instead of testit
block withindescribe
from solution import...
is missing tooRead this when you had the time and don't close this issue until you've fixed it
missing random tests.
sorry, that's now how it works on CW. If you publish a kata and you hope for it to get approved, it has to meet the required standards. As you will see by reading the docs, random tests are mandatory on codewars. Hence, reopening the issue (and this time, don't close it without actually implementing them)
I know they aren't random. But the person that wants to hard code all the answers to the 3000 test can absolutely have this kata ;) I could find easy documentation about writing random tests and my time is limited so this is the best I can do for now. Who know I will write some random testing logic in the future
btw, the new test framework
shouldhas to be used (hence the version with decorators)hi...
x/
nonono... Those are NOT random tests. They are fixed tests generated randomly. That's something totally different. Random tests should provide different inputs/outputs each time the user is running the tests.
back to the drawing board... ;p
cheers
PS: you should take a look at how it's done in the other kata, and at the documentation if not already done
Random tests are not implemented, but I did create a local file that created 3000 random tests (1500 True, 1500 False). So the one who can escape them all is more than welcome to have this kata as "Solved"
Check
Check
Check
Check
and kinda of check, didn't really check but with 1500 random tests there should be one starting with a Z ;)
okay, I see
ejini战神
posted about random tests alr, so double issue...Random tests should not be grouped by return value.
Hi,
Very good back story and nice description.
There are some problems tho, aside of those described below:
Test
instead oftest
Z
(some solutions would fail that test)cheers
Resolved
woops! Good catch, changed it :)
?
Python 3.8 is now enabled, will check the link for the new test framework and the random testing
Loading more items...