29 lines
951 B
C
29 lines
951 B
C
/**
|
|
* @file test_trigger_decoder.h
|
|
*
|
|
* @date Dec 24, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
*/
|
|
|
|
#ifndef TEST_TRIGGER_DECODER_H_
|
|
#define TEST_TRIGGER_DECODER_H_
|
|
|
|
#include "engine_test_helper.h"
|
|
|
|
void testTriggerDecoder(void);
|
|
void testFuelSchedulerBug299smallAndMedium(void);
|
|
void testFuelSchedulerBug299smallAndLarge(void);
|
|
void testDifferentInjectionModes(void);
|
|
void testSparkReverseOrderBug319(void);
|
|
void testMissedSpark299(void);
|
|
void testRpmCalculator(void);
|
|
void testStartupFuelPumping(void);
|
|
void test1995FordInline6TriggerDecoder(void);
|
|
void testTriggerDecoder2(const char *msg, engine_type_e type, int synchPointIndex, float channel1duty, float channel2duty);
|
|
void setupSimpleTestEngineWithMafAndTT_ONE_trigger(EngineTestHelper *eth, injection_mode_e injMode = IM_BATCH);
|
|
void testNoiselessDecoder(void);
|
|
|
|
void assertRpm(const char *msg, int expectedRpm DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
|
|
#endif /* TEST_TRIGGER_DECODER_H_ */
|