aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/test
diff options
context:
space:
mode:
Diffstat (limited to 'games/minimal/mods/test')
-rw-r--r--games/minimal/mods/test/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/minimal/mods/test/init.lua b/games/minimal/mods/test/init.lua
new file mode 100644
index 000000000..051b47906
--- /dev/null
+++ b/games/minimal/mods/test/init.lua
@@ -0,0 +1,11 @@
+--
+-- Minimal Development Test
+-- Mod: test
+--
+
+-- Try out PseudoRandom
+pseudo = PseudoRandom(13)
+assert(pseudo:next() == 22290)
+assert(pseudo:next() == 13854)
+
+