cargo test --workspace- Unit tests live next to the code (
#[cfg(test)] mod tests) and cover the numeric core, commitments, inference, and quantization. - Integration tests under
crates/zkml-prover/testsimport bundled example models and run them end to end. - Contract tests in
zkml-verifieruse the Soroban test environment to exerciseinitialize,verify_inference, and the query methods.
Any change to inference, quantization, commitments, or the contract must ship with tests. Determinism-sensitive code (fixed-point arithmetic) needs explicit round-trip and edge-case coverage.