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.
In the test category "LengthTests" I think instead of "some-horribly-long-domain-name-this-time-longer-than-63-charaters.zzz" the given text should be "some-horribly-long-LEVEL-name-this-time-longer-than-63-charaters.zzz".
As the level name is longer than 63 characters I think the result for this test should be false not true.
BUT I am not quite sure because it is not clear from the output which test of the test category it refers to.
Python fork with random tests and standard failure messages: https://www.codewars.com/kumite/64b321a2206744001d337b9e?sel=64b321a2206744001d337b9e
Python: tests use
test.expect
, what makes failed tests emit poor failure messages.Python (at least): no random tests
This comment is hidden because it contains spoiler information about the solution
Hi,
I encounter some weird things, in the python version. Meanning: things that seem incoherent with the description (but maybe I did not understand what was said...) :
''
as TLD is valid, but see example tests :not validate('.codewars.com')
=> !???validate('1234.com'))
is excpected to beTrue
=> !??!!??validate('127.0.0.1'))
which is expected to be invalid...Seems to me that is inconsistent... Or what did I miss ? (I'm a bit lost, here...)
[PHP Version] Good code coverage with plenty of fixed assertions and a few edge cases but it would still be good to see random tests implemented sometime to further prevent hardcoded and/or logically flawed solutions from passing. Anyway, consider your Kata approved :D