aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-01 16:54:43 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-04-01 16:54:43 -0400
commit383b72b986656f655c0383f2daf29e809e03ee8c (patch)
treeeec435bec9cafc68fc8e3ff45ba2d6ae72af89c3 /test/fuzz.bqn
parente07f1ccf213f1f9c63f5da8427799fd13dfcab99 (diff)
Fix swapped length and max in a random generation call
Diffstat (limited to 'test/fuzz.bqn')
-rw-r--r--test/fuzz.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzz.bqn b/test/fuzz.bqn
index afe4dbc0..fda20f1a 100644
--- a/test/fuzz.bqn
+++ b/test/fuzz.bqn
@@ -114,7 +114,7 @@ gen ← {
ch_end ← 17×2⋆16 ⋄ surr ← (2⋆11)×27+↕2
Char ⇐ Squeeze @ + ·(1≠surr⊸⍋)⊸× (0≍ch_end⌊2⋆2⋆⊣)⊸RandInterval
- Struct ⇐ ⊢ ⥊ =⟜6◶⟨RandInt‿(@+(ch_end⌊2⋆2⋆⊣)⊸Rand˜)_randChoose,RandFloat⊢⟩⟜(×´⥊)
+ Struct ⇐ ⊢ ⥊ =⟜6◶⟨RandInt‿(@+(ch_end⌊2⋆2⋆⊣)Rand˜⊢)_randChoose,RandFloat⊢⟩⟜(×´⥊)
}
_testConsistent_ ← {Match←𝔾