]> git.codecow.com Git - nano25519.git/commitdiff
Update README.
authorChris Duncan <chris@codecow.com>
Tue, 6 Oct 2026 06:14:09 +0000 (23:14 -0700)
committerChris Duncan <chris@codecow.com>
Tue, 6 Oct 2026 06:14:09 +0000 (23:14 -0700)
README.md

index a0a43afa3bbbc357b125323c4f819bff82a3f8ae..5a02abfaa5fd582cee2f1b7f88c36316837bef4e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -198,13 +198,20 @@ optimized to take advantage of SIMD parallelism using WebAssembly vector types.
 
 ## 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
 
@@ -217,6 +224,7 @@ A few basic tests are availabe in the source repository.
 git clone https://codecow.com/nano25519.git
 cd nano25519
 npm i
+npm run build
 ```
 
 ## Reporting Bugs