Skip to content
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

Fixes #257 - InEpsilon works when actual == 0 #265

Merged
merged 1 commit into from
Jan 9, 2016

Conversation

ernesto-jimenez
Copy link
Member

Implemented new InEpsilon by calculating the relative error and
comparing it to the expected epsilon rather than calculating the
acceptable margin and using InDelta.

While doing so we got rid of the false failure when the actual value
was zero.

Implemented new InEpsilon by calculating the relative error and
comparing it to the expected epsilon rather than calculating the
acceptable margin and using InDelta.

While doing so we got rid of the false failure when the actual value
was zero.
ernesto-jimenez added a commit that referenced this pull request Jan 9, 2016
Fixes #257 - InEpsilon works when actual == 0
@ernesto-jimenez ernesto-jimenez merged commit ac0e581 into stretchr:master Jan 9, 2016
@ernesto-jimenez ernesto-jimenez deleted the issue-257 branch January 9, 2016 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant