diff options
author | EuAndreh <eu@euandre.org> | 2024-03-20 03:38:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-03-20 03:38:05 -0300 |
commit | 4ce404bc32e46b7cdcb834f0077cda2219988e44 (patch) | |
tree | b86a2735e20e876c08718986f8d32a514df4a502 /deps.mk | |
parent | tests/js/hero.mjs: Fix function ordering (diff) | |
download | papod-4ce404bc32e46b7cdcb834f0077cda2219988e44.tar.gz papod-4ce404bc32e46b7cdcb834f0077cda2219988e44.tar.xz |
tests/rand.mjs: Add MersenneTwister random number generator
The `tests/rand.c` is also added: a simplified adaptation of the
original algorithm implementation in C. A 10k numbers test case shows
that the JavaScript version behaves the same that the C one does.
Diffstat (limited to 'deps.mk')
-rw-r--r-- | deps.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ tests.mjs = \ tests/js/escape.mjs \ tests/js/hero.mjs \ tests/js/ircd.mjs \ + tests/js/rand.mjs \ tests/js/utils.mjs \ tests/js/web.mjs \ |