summaryrefslogtreecommitdiffstats
path: root/tests/013
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-10-07 06:39:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-10-07 06:39:32 -0700
commitdbdb940ab6c624820f295a1ee419fecbce075b86 (patch)
treea09010c95c5ac04104832b487d9b215b77f490d7 /tests/013
parent21e158606061246c7fcabb07b18bc5bc2f001054 (diff)
downloadtxr-dbdb940ab6c624820f295a1ee419fecbce075b86.tar.gz
txr-dbdb940ab6c624820f295a1ee419fecbce075b86.tar.bz2
txr-dbdb940ab6c624820f295a1ee419fecbce075b86.zip
random: add tests validating WELL512a.
* tests/013/well512a.tl: New file. * tests/013/well512a.expected: New file.
Diffstat (limited to 'tests/013')
-rw-r--r--tests/013/well512a.expected16
-rw-r--r--tests/013/well512a.tl8
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/013/well512a.expected b/tests/013/well512a.expected
new file mode 100644
index 00000000..ecde9a65
--- /dev/null
+++ b/tests/013/well512a.expected
@@ -0,0 +1,16 @@
+419341993
+1818026447
+3020103184
+3141358934
+187862696
+512541134
+1416267688
+4256491982
+731233432
+1852014262
+1248293699
+206481201
+750755084
+1094637740
+2806919360
+2752871950
diff --git a/tests/013/well512a.tl b/tests/013/well512a.tl
new file mode 100644
index 00000000..3f238925
--- /dev/null
+++ b/tests/013/well512a.tl
@@ -0,0 +1,8 @@
+(let ((rs (make-random-state #(#x01010101 #x11111111 #x22222222 #x33333333
+ #x44444444 #x55555555 #x66666666 #x77777777
+ #x88888888 #x99999999 #xAAAAAAAA #xBBBBBBBB
+ #xCCCCCCCC #xDDDDDDDD #xEEEEEEEE #xFFFFFFFF
+ 0)))
+ (mod (expt 2 32)))
+ (for ((i 0)) ((< i 16)) ((inc i))
+ (pprinl (rand mod rs))))