tests/lua/README.md
author unc0rr
Sat, 03 Nov 2018 10:57:47 +0100
changeset 14114 9eca6f2cac6d
parent 12643 5bc6fb5da42f
permissions -rw-r--r--
You cannot optimize integral division like this. You end up multiplying by 0, 1 or 2 instead of whole spectre of ratios.

Lua scripts for engine testing. These scripts are the same as other Lua scripts
in Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or
`EndLuaTest(TEST_FAILED)` when the test is completed.