move test/mut.bqn to test/run.bqn system
This commit is contained in:
parent
6812185e06
commit
01fea8904d
@ -370,7 +370,7 @@ B internalTemp_c2(B t, B w, B x) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TEST_UTILS
|
#if TEST_UTILS
|
||||||
case 201: { // test/mut.bqn
|
case 201: { // test/cases/fuzz/bitarr-fill.bqn
|
||||||
SGetU(x)
|
SGetU(x)
|
||||||
FILL_TO(tyarr_ptr(GetU(x,4)), o2s(GetU(x,0)), o2s(GetU(x,1)), GetU(x,2), o2s(GetU(x,3)));
|
FILL_TO(tyarr_ptr(GetU(x,4)), o2s(GetU(x,0)), o2s(GetU(x,1)), GetU(x,2), o2s(GetU(x,3)));
|
||||||
return x;
|
return x;
|
||||||
|
|||||||
@ -7,7 +7,6 @@ test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primar
|
|||||||
test/x86Cfgs.sh path/to/mlochbaum/BQN // run the test suite for x86-64-specific configurations, including singeli; 32-bit build is "supposed" to fail one test involving ⋆⁼
|
test/x86Cfgs.sh path/to/mlochbaum/BQN // run the test suite for x86-64-specific configurations, including singeli; 32-bit build is "supposed" to fail one test involving ⋆⁼
|
||||||
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/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
|
||||||
./BQN test/random.bqn // test (•MakeRand n).Range
|
./BQN test/random.bqn // test (•MakeRand n).Range
|
||||||
./BQN test/joinReuse.bqn // test in-place join; requires -DPRINT_JOIN_REUSE
|
./BQN test/joinReuse.bqn // test in-place join; requires -DPRINT_JOIN_REUSE
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
u ← ⌊100×(•UnixTime+1|100וMonoTime)@
|
### WHOLE-FILE-TEST
|
||||||
Range ← (•MakeRand •Show u).Range
|
helpers ← ⊑•args
|
||||||
|
Range ← (helpers.GetRand@).Range
|
||||||
|
|
||||||
Do ← {𝕊:
|
Do ← {𝕊:
|
||||||
orig ← (1000⌊𝕩) Range 2
|
orig ← (1000⌊𝕩) Range 2
|
||||||
@ -14,7 +15,7 @@ Do ← {𝕊:
|
|||||||
•Show '0'+mut
|
•Show '0'+mut
|
||||||
•Show '0'+exp
|
•Show '0'+exp
|
||||||
•Show s‿l‿v
|
•Show s‿l‿v
|
||||||
•Exit 1;
|
!0;
|
||||||
𝕩
|
𝕩
|
||||||
}
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user