aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-08 20:24:21 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-08 20:24:21 -0400
commit498c73abfc315928bbbc991ca48b094b597f22c9 (patch)
tree2e3b32455a34319e11f27ef961d2cfcff0e2e2ca /test/fuzz.bqn
parentb44db7211c09f0f49cf42cf9678045d6df7a584d (diff)
Use random.Subset instead of Deal
Diffstat (limited to 'test/fuzz.bqn')
-rw-r--r--test/fuzz.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fuzz.bqn b/test/fuzz.bqn
index 571502fd..dd1d3b57 100644
--- a/test/fuzz.bqn
+++ b/test/fuzz.bqn
@@ -29,7 +29,7 @@ Any number of types or bounds can be given; all combinations are tested."
Squeeze‿ListVariations‿Variation‿ClearRefs ← •internal
-⟨Range,Deal⟩ ← •MakeRand 2
+⟨Range,Subset⟩ ← •MakeRand 2
Rand ← {𝕨 Range 1⌈𝕩}
_randChoose ← { Rand∘(≠𝕗)◶𝕗 }
_randUnbounded ← { 𝕊⊸+⍟(1=-)⟜Rand 𝕗 }
@@ -48,7 +48,7 @@ RandRank ← 4 _randUnbounded
Sigmoid ← (40≤|)◶⟨1(-÷+)˜⋆,×⟩
# 𝕨 positive (not zero) integers summing to 𝕩
-RandPart ← ¯1 (⊢-») (∧∘Deal∾⊢)○(-⟜1)
+RandPart ← ¯1 (⊢-») (Subset∾⊢)○(-⟜1)
# 𝕩 is maximum bound plus 1 for both functions
⟨RandBound,RandShape⟩ ← {