-
Notifications
You must be signed in to change notification settings - Fork 34
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
Extend tests with all rounding directions #500
Conversation
Codecov Report
@@ Coverage Diff @@
## master #500 +/- ##
=======================================
Coverage 99.67% 99.67%
=======================================
Files 54 54
Lines 17108 17180 +72
=======================================
+ Hits 17053 17125 +72
Misses 55 55 |
afe00a9
to
6897640
Compare
@@ -355,42 +364,43 @@ TYPED_TEST(execute_floating_point_types, binop_nan_propagation) | |||
for (const auto op : opcodes) | |||
{ | |||
auto instance = instantiate(parse(this->get_binop_code(op))); | |||
const auto exec = [&](auto arg1, auto arg2) { return execute(*instance, 0, {arg1, arg2}); }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular need for this refactoring or just making it less code duplication?
{ | ||
EXPECT_THAT(execute(*inst, eq, {a, b}), Result(0)) << a << "==" << b; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange why did clang-format agree with previous identation.
@gumb0 hint: if you want to review this post-merge, make sure to turn on "hide whitespace changes" in the diff. |
6897640
to
a767eb3
Compare
No description provided.