LuaAPI.wiki
changeset 1055 754e0a7bdd44
parent 1054 0de5837d0fc5
child 1057 19142f4d6fb4
equal deleted inserted replaced
1054:0de5837d0fc5 1055:754e0a7bdd44
  1372 This function is used by the Hedgewars developers in testing scripts in order to test the game engine. The testing scripts can be found in the Hedgewars source code under `tests/lua`. This function is useless for anything else.
  1372 This function is used by the Hedgewars developers in testing scripts in order to test the game engine. The testing scripts can be found in the Hedgewars source code under `tests/lua`. This function is useless for anything else.
  1373 
  1373 
  1374 Calling this function ends an engine test and reports a test result.
  1374 Calling this function ends an engine test and reports a test result.
  1375 
  1375 
  1376 `success` is either one of `TEST_SUCCESSFUL` to report a successful test or `TEST_FAILED` for a failed test.
  1376 `success` is either one of `TEST_SUCCESSFUL` to report a successful test or `TEST_FAILED` for a failed test.
       
  1377 
       
  1378 See [EngineTestCases] to learn more about testing the engine.