rusefi-1/unit_tests/test_trigger_decoder.h

29 lines
951 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file test_trigger_decoder.h
*
* @date Dec 24, 2013
2017-01-03 11:05:36 -08:00
* @author Andrey Belomutskiy, (c) 2012-2017
2015-07-10 06:01:56 -07:00
*/
#ifndef TEST_TRIGGER_DECODER_H_
#define TEST_TRIGGER_DECODER_H_
2018-03-04 13:13:23 -08:00
#include "engine_test_helper.h"
2015-07-10 06:01:56 -07:00
void testTriggerDecoder(void);
2016-09-03 10:02:55 -07:00
void testFuelSchedulerBug299smallAndMedium(void);
void testFuelSchedulerBug299smallAndLarge(void);
2017-11-06 19:33:06 -08:00
void testDifferentInjectionModes(void);
2016-10-31 17:02:09 -07:00
void testSparkReverseOrderBug319(void);
2016-11-07 19:02:21 -08:00
void testMissedSpark299(void);
2016-01-25 08:02:31 -08:00
void testRpmCalculator(void);
2016-08-26 14:02:37 -07:00
void testStartupFuelPumping(void);
2016-01-26 19:03:19 -08:00
void test1995FordInline6TriggerDecoder(void);
2017-03-03 21:00:46 -08:00
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);
2015-07-10 06:01:56 -07:00
2018-07-28 16:29:13 -07:00
void assertRpm(const char *msg, int expectedRpm DECLARE_ENGINE_PARAMETER_SUFFIX);
2015-07-10 06:01:56 -07:00
#endif /* TEST_TRIGGER_DECODER_H_ */