Details (do not affect regular code)
* Avoids multiple definitions of 'lua_assert' in test file. * Smaller C-stack limit in test mode. * Note in the manual about the use of false * Extra test for constant reuse.
This commit is contained in:
@@ -55,6 +55,20 @@ end
|
||||
checkKlist(foo, {3.78/4, -3.78/4, -3.79/4})
|
||||
|
||||
|
||||
foo = function (f, a)
|
||||
f(100 * 1000)
|
||||
f(100.0 * 1000)
|
||||
f(-100 * 1000)
|
||||
f(-100 * 1000.0)
|
||||
f(100000)
|
||||
f(100000.0)
|
||||
f(-100000)
|
||||
f(-100000.0)
|
||||
end
|
||||
|
||||
checkKlist(foo, {100000, 100000.0, -100000, -100000.0})
|
||||
|
||||
|
||||
-- testing opcodes
|
||||
|
||||
-- check that 'f' opcodes match '...'
|
||||
|
||||
Reference in New Issue
Block a user