uCBQN/test
2022-04-25 03:13:58 +03:00
..
bitcpy.bqn squeeze test 2022-04-04 17:00:54 +03:00
cmp.bqn tests 2022-04-02 18:20:18 +03:00
copy.bqn randomize shape a bit in test/copy.bqn 2022-04-25 03:13:58 +03:00
equal.bqn fix generic squeeze case 2022-04-04 21:38:35 +03:00
mainCfgs.sh tests 2022-04-02 18:20:18 +03:00
moreCfgs.sh tests 2022-04-02 18:20:18 +03:00
README.md singeli copy 2022-04-25 03:06:11 +03:00
squeeze.bqn squeeze test 2022-04-04 17:00:54 +03:00
utils.bqn squeeze test 2022-04-04 17:00:54 +03:00
x86Cfgs.sh tests 2022-04-02 18:20:18 +03:00

Tests

Must be run from the projects root directory.

test/mainCfgs.sh path/to/mlochbaum/BQN // run the test suite for a couple primary configurations
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
./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/bitcpy.bqn // fuzz-test bit_cpy; requires a CBQN build with -DTEST_BITCPY
./BQN test/squeeze.bqn // fuzz-test squeezing; requires a CBQN build with -DEEQUAL_NEGZERO