Skip to main content

conformance_selftest

Function conformance_selftest 

Source
pub fn conformance_selftest() -> bool
Expand description

Run conformance tests against vendored test vectors.

Tests each gen_*_v0 function section in the conformance data, calling each function with the specified inputs and comparing the .iscc field of the result against expected output. Code types whose feature flags are disabled are skipped. Returns true if all enabled tests pass, false if any mismatch or error occurs. Does not panic — logs failures via eprintln! and continues through all test cases.