* refactor integration tests * set deprecated_lua_api_handling to 'error' Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
12 lines
329 B
Lua
12 lines
329 B
Lua
|
|
-- check if all required nodenames are registered
|
|
mtt.validate_nodenames(minetest.get_worldpath().."/registered_nodes.txt")
|
|
|
|
-- test mapgen
|
|
mtt.emerge_area({x=0, y=0, z=0}, {x=48, y=48, z=48})
|
|
|
|
mtt.register("technic.max_lag", function(callback)
|
|
local lag = technic.get_max_lag()
|
|
assert(lag ~= nil and lag > 0)
|
|
callback()
|
|
end) |