move test/equal.bqn to test/run.bqn system
This commit is contained in:
parent
315d8681d1
commit
6a5ce4c11b
@ -8,7 +8,6 @@ test/x86Cfgs.sh path/to/mlochbaum/BQN // run the test suite for x86-64-specific
|
|||||||
test/moreCfgs.sh path/to/mlochbaum/BQN // run "2+2" in a bunch of configurations; requires dzaima/BQN to be accessible as dbqn
|
test/moreCfgs.sh path/to/mlochbaum/BQN // run "2+2" in a bunch of configurations; requires dzaima/BQN to be accessible as dbqn
|
||||||
test/run.bqn // run tests in test/cases/
|
test/run.bqn // run tests in test/cases/
|
||||||
./BQN test/cmp.bqn // fuzz-test scalar comparison functions =≠<≤>≥
|
./BQN test/cmp.bqn // fuzz-test scalar comparison functions =≠<≤>≥
|
||||||
./BQN test/equal.bqn // fuzz-test 𝕨≡𝕩
|
|
||||||
./BQN test/copy.bqn // fuzz-test creating new arrays with elements copied from another
|
./BQN test/copy.bqn // fuzz-test creating new arrays with elements copied from another
|
||||||
./BQN test/mut.bqn // fuzz-test mut.h (currently just bitarr fill)
|
./BQN test/mut.bqn // fuzz-test mut.h (currently just bitarr fill)
|
||||||
./BQN test/various.bqn // tests for various small things
|
./BQN test/various.bqn // tests for various small things
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
# make o3n-singeli && ./BQN test/equal.bqn
|
### WHOLE-FILE-TEST
|
||||||
|
# tests 𝕨 ≡ 𝕩
|
||||||
|
helpers ← ⊑•args
|
||||||
|
r ← helpers.GetRand@
|
||||||
⟨ListVariations, ClearRefs, Variation, Squeeze, Info⟩ ← •internal
|
⟨ListVariations, ClearRefs, Variation, Squeeze, Info⟩ ← •internal
|
||||||
u ← ⌊100×(•UnixTime+1|100וMonoTime)@
|
|
||||||
# u ↩ 123
|
|
||||||
|
|
||||||
r ← •MakeRand •Show u
|
|
||||||
|
|
||||||
TestVars ← { w𝕊a‿b:
|
TestVars ← { w𝕊a‿b:
|
||||||
n ← ¬w
|
n ← ¬w
|
||||||
@ -13,14 +12,14 @@ TestVars ← { w𝕊a‿b:
|
|||||||
•Out •Repr a
|
•Out •Repr a
|
||||||
•Out •Repr b
|
•Out •Repr b
|
||||||
•Out •Repr a≠b
|
•Out •Repr a≠b
|
||||||
•Exit 1
|
!0
|
||||||
}⌜ ListVariations b
|
}⌜ ListVariations b
|
||||||
ClearRefs@
|
ClearRefs@
|
||||||
}
|
}
|
||||||
|
|
||||||
(1 TestVars ⋈˜)¨ ⟨⟨⟩ ⋄ "" ⋄ ↕0⟩
|
(1 TestVars ⋈˜)¨ ⟨⟨⟩ ⋄ "" ⋄ ↕0⟩
|
||||||
|
|
||||||
⟨RandVals⟩ ← ⟨r⟩ •Import "utils.bqn"
|
⟨RandVals⟩ ← ⟨r⟩ helpers.Import "utils.bqn"
|
||||||
|
|
||||||
Do ← { 𝕊:
|
Do ← { 𝕊:
|
||||||
at ← r.Range 8
|
at ← r.Range 8
|
||||||
@ -36,4 +35,4 @@ Do ← { 𝕊:
|
|||||||
}∘@⍟100 @
|
}∘@⍟100 @
|
||||||
}
|
}
|
||||||
|
|
||||||
@∘Do⍟1000 @
|
@∘Do⍟1000 @
|
||||||
Loading…
Reference in New Issue
Block a user