Beta
Stableford Score Calculator
14robd2105
Loading description...
Algorithms
Fundamentals
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.
Ensure that the course only contains par 3, par 4, or par 5 holes.
Cases beyond parr 5 or below par 3 are not tested
No random tests
This is not tested: every non-error test case have a handicap of either
0
,18
or36
.But
0
strokes are expected to not fail validation in the fixed tests.Similarly, stroke index validation is specified to be
Invalid stroke index accepted - SI < 0 accepted
but the passed SI is0
.There are more validation rules and handling required than the actual task in the kata. Are you sure this is good design?
Description should list expected errors to be thrown instead of making the developer fail hidden test cases over and over getting new errors each time.