|
|
||
| for (int i = 0; i < num; i++) { | ||
| ASSERT_EQ(hc[i], std::isnan(ha[i]) ? b : ha[i]); | ||
| ASSERT_FLOAT_EQ(hc[i], std::isnan(ha[i]) ? b : ha[i]); |
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did this work? I have tried these on linux-01 and it didn't work.
Copy link
Copy Markdown
Member Author
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy link
Copy Markdown
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is weird, it failed with ASSERT_FLOAT_EQ too when I tried.