We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why can't I specify custom epsilon with assert_abs_diff_eq but I can with abs_diff_eq
assert_abs_diff_eq
abs_diff_eq
// not possible assert_abs_diff_eq!(1.0, 1.0, epsilon = f64::EPSILON); // possible abs_diff_eq!(1.0, 1.0, epsilon = f64::EPSILON);
This makes me unable to write write Rust tests so that I can see the left and right values on test errors when setting epsilon is needed.
left
right
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Why can't I specify custom epsilon with
assert_abs_diff_eq
but I can withabs_diff_eq
This makes me unable to write write Rust tests so that I can see the
left
andright
values on test errors when setting epsilon is needed.The text was updated successfully, but these errors were encountered: