-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Math.sumPrecise testing plan #4054
Comments
I'm trying to put together guidance on writing a testing plan, so I thought I'd use this proposal as a sample. There may be some things in this list that are past the point of diminishing returns, like repeating all of the success cases for both arrays and non-array iterables, or all of the iterator protocol boilerplate. |
This looks like a good amount of detail for a testing plan to me, but I agree that many of the tests are past the point of diminishing returns. In particular:
Cases you've missed:
|
I thought of a few more missed cases as well:
|
Boilerplate
Success cases
Failure cases
Other edge cases
return
is called) after yielding a non-NumbervalueOf
,toString
, or[Symbol.toPrimitive]
methods called[Symbol.iterator]
method, not by gettinglength
The text was updated successfully, but these errors were encountered: