## Tests
-A few basic tests are availabe in the source repository.
+A few basic tests are availabe in the source repository under `test/`.
- `index.html` is a web interface to test browser execution and compare
performance with other browser-based implementations.
-- `test.mjs` is a test for NodeJS to check result validity. It runs a
+- `node.mjs` is a test for NodeJS to check result validity. It runs a
derive-sign-verify sequence for public test vectors obtained from the
python-ed25519-blake2b library.
+- `big-endian.mjs` runs the NodeJS test again but prepatches the primordial
+ `Words` class to emulate toggled endianness.
+- `vectors.mjs` is generated by `esbuild` using the files found in
+ `test/vectors`.
+
+Tests are run with a debug build using `npm t` and a production build with
+`npm run test:prod`.
## Building
git clone https://codecow.com/nano25519.git
cd nano25519
npm i
+npm run build
```
## Reporting Bugs