parent
f7ecebaa64
commit
1b28e292e2
|
@ -185,10 +185,10 @@ TEST(trigger, test1995FordInline6TriggerDecoder) {
|
|||
IgnitionEventList *ecl = &engine->ignitionEvents;
|
||||
ASSERT_EQ( 1, ecl->isReady) << "ford inline ignition events size";
|
||||
ASSERT_EQ( 0, ecl->elements[0].dwellPosition.triggerEventIndex) << "event index";
|
||||
ASSERT_NEAR(7.9579, ecl->elements[0].dwellPosition.angleOffsetFromTriggerEvent, EPS4D) << "angle offset#1";
|
||||
ASSERT_NEAR(7.9579, ecl->elements[0].dwellPosition.angleOffsetFromTriggerEvent, EPS2D) << "angle offset#1";
|
||||
|
||||
ASSERT_EQ( 10, ecl->elements[5].dwellPosition.triggerEventIndex) << "event index";
|
||||
ASSERT_NEAR(7.9579, ecl->elements[5].dwellPosition.angleOffsetFromTriggerEvent, EPS4D) << "angle offset#2";
|
||||
ASSERT_NEAR(7.9579, ecl->elements[5].dwellPosition.angleOffsetFromTriggerEvent, EPS2D) << "angle offset#2";
|
||||
|
||||
|
||||
ASSERT_FLOAT_EQ(0.5, engine->ignitionState.getSparkDwell(2000)) << "running dwell";
|
||||
|
|
Loading…
Reference in New Issue