2022-05-15 07:07:02 -07:00
|
|
|
#include "pch.h"
|
|
|
|
#include "value_lookup.h"
|
|
|
|
|
|
|
|
TEST(LuaBasic, configLookup) {
|
|
|
|
EngineTestHelper eth(FORD_ESCORT_GT);
|
|
|
|
|
2022-05-15 12:14:04 -07:00
|
|
|
engineConfiguration->launchRpm = 100;
|
|
|
|
ASSERT_EQ(100.0, getConfigValueByName("launchRpm"));
|
|
|
|
|
|
|
|
engineConfiguration->maxAcTps = 40;
|
|
|
|
ASSERT_EQ(40.0, getConfigValueByName("maxAcTps"));
|
2022-05-15 07:07:02 -07:00
|
|
|
|
|
|
|
}
|