MathMin
This commit is contained in:
parent
19fe90452a
commit
72a2bdba66
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue