reducing crazy in unit tests

This commit is contained in:
Andrey 2021-10-02 00:13:15 -04:00
parent 097e871b19
commit 13d21716db
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ TEST(ignition, trailingSpark) {
eth.fireTriggerEventsWithDuration(20);
// still no RPM since need to cycles measure cycle duration
eth.fireTriggerEventsWithDuration(20);
ASSERT_EQ( 3000, GET_RPM()) << "RPM#0";
eth.clearQueue();
/**
@ -72,7 +73,7 @@ TEST(ignition, trailingSpark) {
EXPECT_EQ(engine->executor.size(), 2);
// execute all actions
eth.clearQueue();
eth.executeActions();
// Primary and secondary coils should be low - primary just fired
EXPECT_EQ(enginePins.coils[0].getLogicValue(), false);