diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-12-12 17:51:05 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-12-12 17:51:05 -0500 |
| commit | 026c9ef1f6135299b208673ec6d2197b18b3421d (patch) | |
| tree | e4b5b68c8c8e666e86175a4de874112b14100759 /test | |
| parent | 6fd91a84cf357bac9996670a4d9c779339196cca (diff) | |
Print seed when generated with -r u
Diffstat (limited to 'test')
| -rw-r--r-- | test/fuzz.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz.bqn b/test/fuzz.bqn index bfab0b8d..e71ff5b7 100644 --- a/test/fuzz.bqn +++ b/test/fuzz.bqn @@ -4,7 +4,7 @@ opts ← { help ← 1↓" Fuzz testing. Options: -h, --help: Print this message and exit - -r: Random seed, u for •UnixTime (1) + -r: Random seed, u to use •UnixTime then print (1) -b: Maximum bound (1e3) -n: Number of iterations (100) -t: Element type (0 3 4 5 6) @@ -22,7 +22,7 @@ Any number of types or bounds can be given; all combinations are tested." num ⊢_default_"iteration number"↩ 100 types ↩ 0‿3‿4‿5‿6⍟(0=≠) types bounds ↩ ⟨1e3⟩⍟(0=≠) bounds - seed "u"⊸≡◶⟨•BQN,(2⋆31)|⌊∘•UnixTime⟩_default_"random seed"↩ 1 + seed "u"⊸≡◶⟨•BQN,•Show(2⋆31)|⌊∘•UnixTime⟩_default_"random seed"↩ 1 prims ↩ ((⊢-˜¬×+`+2×·¬∨´)'%'⊸=)¨⊸(⊔○∾) prims "At most three %-separated primitive groups allowed" ! 3≥≠prims |
