diff options
author | sfan5 <sfan5@live.de> | 2021-12-18 20:36:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 20:36:43 +0100 |
commit | 8472141b79c25092c90dea24aa873bd7ff792142 (patch) | |
tree | f83851a66ec4b892786ae8a398bee3e8c5228c78 /games/devtest/mods/unittests/random.lua | |
parent | 1c5ece8334d050379eb99fe2ead52f9f4db44249 (diff) | |
download | dragonfireclient-8472141b79c25092c90dea24aa873bd7ff792142.tar.xz |
Restructure devtest's unittests and run them in CI (#11859)
Diffstat (limited to 'games/devtest/mods/unittests/random.lua')
-rw-r--r-- | games/devtest/mods/unittests/random.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/games/devtest/mods/unittests/random.lua b/games/devtest/mods/unittests/random.lua deleted file mode 100644 index f94f0a88e..000000000 --- a/games/devtest/mods/unittests/random.lua +++ /dev/null @@ -1,10 +0,0 @@ -function unittests.test_random() - -- Try out PseudoRandom - minetest.log("action", "[unittests] Testing PseudoRandom ...") - local pseudo = PseudoRandom(13) - assert(pseudo:next() == 22290) - assert(pseudo:next() == 13854) - minetest.log("action", "[unittests] PseudoRandom test passed!") - return true -end - |