reduce flash footprint by smarter code generation #4163
This commit is contained in:
parent
d38d8a7840
commit
146d887cdd
|
@ -0,0 +1,13 @@
|
|||
#include "pch.h"
|
||||
#include "value_lookup.h"
|
||||
|
||||
TEST(LuaBasic, configLookup) {
|
||||
EngineTestHelper eth(FORD_ESCORT_GT);
|
||||
|
||||
engineConfiguration->launchRpm = 100;
|
||||
ASSERT_EQ(100.0, getConfigValueByName("launchRpm"));
|
||||
|
||||
engineConfiguration->maxAcTps = 40;
|
||||
ASSERT_EQ(40.0, getConfigValueByName("maxAcTps"));
|
||||
|
||||
}
|
|
@ -29,6 +29,7 @@ TESTS_SRC_CPP = \
|
|||
tests/ignition_injection/test_fuel_computer.cpp \
|
||||
tests/ignition_injection/test_injector_model.cpp \
|
||||
tests/lua/test_lua_basic.cpp \
|
||||
tests/lua/test_lookup.cpp \
|
||||
tests/lua/test_lua_e65.cpp \
|
||||
tests/lua/test_lua_with_engine.cpp \
|
||||
tests/lua/test_lua_hooks.cpp \
|
||||
|
|
Loading…
Reference in New Issue