From 2741a5180a5b19ad9d9f45ebc9483edfdb9990d0 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 4 Mar 2017 09:10:20 -0500 Subject: [PATCH] fixing build --- unit_tests/test_trigger_decoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/test_trigger_decoder.cpp b/unit_tests/test_trigger_decoder.cpp index 78b21a0d11..02c0fc28fe 100644 --- a/unit_tests/test_trigger_decoder.cpp +++ b/unit_tests/test_trigger_decoder.cpp @@ -224,8 +224,8 @@ void testTriggerDecoder2(const char *msg, engine_type_e type, int synchPointInde assertEqualsM("synchPointIndex", synchPointIndex, t->getTriggerShapeSynchPointIndex()); - assertEqualsM4(msg, " channel1duty", channel1duty, t->dutyCycle[0]); - assertEqualsM4(msg, " channel2duty", channel2duty, t->dutyCycle[1]); + assertEqualsM3(msg, " channel1duty", channel1duty, t->dutyCycle[0], 0.0001); + assertEqualsM3(msg, " channel2duty", channel2duty, t->dutyCycle[1], 0.0001); } static void testTriggerDecoder3(const char *msg, engine_type_e type, int synchPointIndex, float channel1duty, float channel2duty, float expectedGap) {