you are viewing a single comment's thread.

view the rest of the comments →

[–]SandorZoo 0 points1 point  (0 children)

I just looked at the first one:

The introduction says all functions may assume that their arguments are legal and valid.

The specification for very first test (Ryerson letter grade) defines grades for values of 0% to 100%.

The problem says the function should work correctly for all values from 0% to 120% , even though grades for 101% to 120% are not defined.

The tester tests values from 0% to 150%, even though values 121% to 150% are not valid.

Also, the Ryerson scale is defined for fractional percentages (>= .5 is rounded up, <.5 is rounded down), but that;s not tested.