This comment is hidden because it contains spoiler information about the solution
test.it
https://docs.codewars.com/languages/python/authoring/#reference-solution https://github.com/Codewars/codewars.com/wiki/Codewars-Python-Test-Framework-V2#test-suite-best-practices
Hackery aside, random testing is not strong enough, cheers.
note that what you call actual in your tests is actually the expected value. Please change this because in any aother kata, actual stands for the result of the user.
actual
expected
test
Test
Consider reading this as well to author better katas in future :)
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
test.it
should decorate a functionhttps://docs.codewars.com/languages/python/authoring/#reference-solution
https://github.com/Codewars/codewars.com/wiki/Codewars-Python-Test-Framework-V2#test-suite-best-practices
Hackery aside, random testing is not strong enough, cheers.
note that what you call
actual
in your tests is actually theexpected
value. Please change this because in any aother kata,actual
stands for the result of the user.test
should be used instead ofTest
(Read this)Consider reading this as well to author better katas in future :)