Beta

Stableford Score Calculator

Description
Loading description...
Algorithms
Fundamentals
  • Please sign in or sign up to leave a comment.
  • ejini战神 Avatar

    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

  • ejini战神 Avatar

    No random tests

  • Voile Avatar

    So if your handicap is 10, then you get 1 free stroke on the holes with Stroke Index 1-10.

    This is not tested: every non-error test case have a handicap of either 0, 18 or 36.

  • Voile Avatar

    Check that strokes are positive integers

    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 is 0.

  • Voile Avatar

    There are more validation rules and handling required than the actual task in the kata. Are you sure this is good design?

  • jclast Avatar

    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.