Lua to read tsOutputs #3376

let's break master!
This commit is contained in:
rusefillc 2021-12-15 08:56:59 -05:00
parent 09df526309
commit ced403f7ee
1 changed files with 8 additions and 8 deletions

View File

@ -24,14 +24,14 @@ TEST(LuaHooks, TestCrc8) {
}
TEST(LuaHooks, TestGetCalibration) {
// const char* sourceCode = R"(
//
// function testFunc()
// return getCalibration("cranking.rpm")
// end
//
// )";
// EXPECT_EQ(testLuaReturnsNumber(sourceCode), 0x86);
const char* sourceCode = R"(
function testFunc()
return getCalibration("cranking.rpm")
end
)";
EXPECT_EQ(testLuaReturnsNumber(sourceCode), 0x86);
}
TEST(LuaHooks, TestSetCalibration) {