MathMin
This commit is contained in:
parent
d98c27e3a9
commit
76f9840dc1
|
@ -13,6 +13,20 @@ TEST(LuaBasic, ReturnsNumber) {
|
||||||
EXPECT_FLOAT_EQ(result, 5.5f);
|
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) {
|
TEST(LuaBasic, ReturnsInteger) {
|
||||||
auto script = R"(
|
auto script = R"(
|
||||||
function testFunc()
|
function testFunc()
|
||||||
|
|
Loading…
Reference in New Issue