-
Notifications
You must be signed in to change notification settings - Fork 299
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
Issue #1235: improve transmission tests #1238
Issue #1235: improve transmission tests #1238
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1238 +/- ##
=======================================
Coverage 47.82% 47.82%
=======================================
Files 40 40
Lines 3448 3448
Branches 1869 1869
=======================================
Hits 1649 1649
+ Misses 456 455 -1
- Partials 1343 1344 +1
Flags with carried forward coverage won't be shown. Click here to find out more. |
b8af0a1
to
73e6658
Compare
I don't really understand why the binary/rolling workflow failed, but it seems like it doesn't directly relate to my code changes? |
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.
Wow you had a lot of work to do on this one! Thank you!
That failure has nothing to do with your changes. It failed for a similar reason this PR exists, test instability! ;) |
* [transmission_interface] relaxes float tolerance in tests * [transmission_interface] replaces EXPECT_EQ for floats with EXPECT_THAT(..., DoubleNear(...)) (cherry picked from commit e92b6c2)
* [transmission_interface] relaxes float tolerance in tests * [transmission_interface] replaces EXPECT_EQ for floats with EXPECT_THAT(..., DoubleNear(...)) (cherry picked from commit e92b6c2)
This PR replaces
EXPECT_EQ
withEXPECT_THAT(..., DoubleNear(...))
for floats, as well as relaxes the usedEPS
from 1e-6 to 1e-5 as mentioned in #1235 . I also replaced theEXPECT_NEAR
the same way for consistency. I skippedtest_transmission_parser.cpp
as I doesn't seem to be build, but I can adapt it in the same way if wanted.