auto-sync
This commit is contained in:
parent
1bd2cd8867
commit
53fd044863
|
@ -9,6 +9,7 @@ TEST_SRC_CPP = test_util.cpp \
|
|||
test_trigger_decoder.cpp \
|
||||
test_fuel_map.cpp \
|
||||
engine_test_helper.cpp \
|
||||
test_logic_expression.cpp \
|
||||
test_speed_density.cpp \
|
||||
test_signal_executor.cpp \
|
||||
test_sensors.cpp \
|
||||
|
|
|
@ -6,12 +6,9 @@
|
|||
* Author: Andrey Belomutskiy, (c) 2012-2013
|
||||
*/
|
||||
|
||||
|
||||
#ifndef TEST_ACCEL_ENRICHMENT_H_
|
||||
#define TEST_ACCEL_ENRICHMENT_H_
|
||||
|
||||
void testAccelEnrichment(void);
|
||||
|
||||
|
||||
|
||||
#endif /* TEST_ACCEL_ENRICHMENT_H_ */
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* @file test_logic_expression.cpp
|
||||
*
|
||||
* https://sourceforge.net/p/rusefi/tickets/102/
|
||||
*
|
||||
* @date Oct 3, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2014
|
||||
*/
|
||||
|
||||
#include "main.h"
|
||||
#include "test_logic_expression.h"
|
||||
|
||||
void testLogicExpressions(void) {
|
||||
/**
|
||||
* fuel_pump = (time_since_boot < 4 seconds) OR (rpm > 0)
|
||||
* fuel_pump = time_since_boot 4 less rpm 0 more OR
|
||||
*/
|
||||
|
||||
/**
|
||||
* fan = (not fan && coolant > 90) OR (fan && coolant > 85)
|
||||
* fan = fan NOT coolant 90 AND more fan coolant 85 more AND OR
|
||||
*/
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* @file test_logic_expression.h
|
||||
*
|
||||
* @date Oct 3, 2014
|
||||
* @author Andrey Belomutskiy, (c) 2012-2014
|
||||
*/
|
||||
|
||||
#ifndef TEST_LOGIC_EXPRESSION_H_
|
||||
#define TEST_LOGIC_EXPRESSION_H_
|
||||
|
||||
void testLogicExpressions(void);
|
||||
|
||||
#endif /* TEST_LOGIC_EXPRESSION_H_ */
|
Loading…
Reference in New Issue