7 kyu
Offspring Traits
412 of 686user3010812
Loading description...
Fundamentals
Lists
Strings
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
python new test framework is required. updated in this fork
Approved
changed random tests in JS version to pass arguments that match description (to give actual array of length 2 instead of 3)
ok
JS translation kumited.
kindly review and approve.
Link
yes
Needs random tests
i do not know how to add random tests
look at the test suites of katas you already solved, to see what they look like
ok i'm not sure but i think i was able to do it thank you folks
You did, but you should probably have a minimum of 50 random tests... 100 is the usual number, although I suppose fewer would probably be fine for this since there aren't really edge cases. Still, five isn't quite enough ;)
Just change
for i in range(5)
tofor i in range(50)
(or 100).Increased number of random tests, rewrote the random tests to be actually random, removed some fixed ones as they covered every possible correct case.
thank s