minetest/games/minimal/mods/test/init.lua

12 lines
162 B
Lua
Raw Normal View History

2012-03-27 23:38:20 +02:00
--
-- Minimal Development Test
-- Mod: test
--
-- Try out PseudoRandom
pseudo = PseudoRandom(13)
assert(pseudo:next() == 22290)
assert(pseudo:next() == 13854)