mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-14 13:25:25 -05:00
12 lines
162 B
Lua
12 lines
162 B
Lua
|
--
|
||
|
-- Minimal Development Test
|
||
|
-- Mod: test
|
||
|
--
|
||
|
|
||
|
-- Try out PseudoRandom
|
||
|
pseudo = PseudoRandom(13)
|
||
|
assert(pseudo:next() == 22290)
|
||
|
assert(pseudo:next() == 13854)
|
||
|
|
||
|
|