mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Rename “Minimal development test” to “Development Test” (#9928)
This commit is contained in:
parent
b546e8938d
commit
083b285f43
371 changed files with 25 additions and 25 deletions
16
games/devtest/mods/unittests/init.lua
Normal file
16
games/devtest/mods/unittests/init.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
unittests = {}
|
||||
|
||||
local modpath = minetest.get_modpath("unittests")
|
||||
dofile(modpath .. "/random.lua")
|
||||
dofile(modpath .. "/player.lua")
|
||||
dofile(modpath .. "/crafting_prepare.lua")
|
||||
dofile(modpath .. "/crafting.lua")
|
||||
|
||||
if minetest.settings:get_bool("devtest_unittests_autostart", false) then
|
||||
unittests.test_random()
|
||||
unittests.test_crafting()
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
unittests.test_player(player)
|
||||
end)
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue