This folder contains various performance and unit tests.
- basics.lua - some simple tests
- ravi_tests1.ravi - contains most of the Ravi specific tests
- ravi_tests3.ravi - additional tests
- ravi_errors.ravi - contains tests for error conditions
- bitwise_tests.lua - modified Lua 5.3 tests to exercise JIT on bitwise operations
Following are simple loop tests:
- fornum_test2.ravi - with optional types
Matrix multiplication test:
- matmul1.lua - matrix multiplication (Lua compatible)
- matmul1.ravi - matrix multiplication (ravi version with static typing)
- matmul1_ravi.lua - matrix multiplication (ravi version with static typing)
- fannkuchen.ravi - with optional types
- mandel1.ravi - modified so that it can be JIT compiled
- mandel1.lua - can be JIT compiled but also compatible with Lua
run_tests.sh for how to run these tests.