todo: warnings would have been nice!

This commit is contained in:
Andrey 2023-04-11 16:03:53 -04:00
parent 1ffb4dfd9b
commit a2930e60b8
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,7 @@ TEST(etb, integrated) {
}
extern int timeNowUs;
extern WarningCodeState unitTestWarningCodeState;
TEST(etb, intermittentTps) {
EngineTestHelper eth(TEST_ENGINE); // we have a destructor so cannot move EngineTestHelper into utility method
@ -91,6 +92,8 @@ TEST(etb, intermittentTps) {
etb->update();
EXPECT_NE(0, etb->etbErrorCode);
// todo: warnings would have been nice!
EXPECT_EQ( 0, unitTestWarningCodeState.recentWarnings.getCount()) << "intermittentTps";
}
TEST(etb, intermittentPps) {