This commit is contained in:
rusefi 2021-11-10 19:23:05 -05:00
parent 19fe90452a
commit 72a2bdba66
1 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,20 @@ TEST(LuaBasic, ReturnsNumber) {
EXPECT_FLOAT_EQ(result, 5.5f);
}
TEST(LuaBasic, MathMin) {
/*
auto script = R"(
function testFunc()
return min(1, 2)
end
)";
float result = testLuaReturnsNumber(script);
EXPECT_FLOAT_EQ(result, 1.0f);
*/
}
TEST(LuaBasic, ReturnsInteger) {
auto script = R"(
function testFunc()