How isosweep is tested
A contour engine sits inside other people's products, so its output has to be right on every platform, at every thread count, on every input. This is how we check that.
A test suite on every change
Eighteen C test programs cover the API, streaming, filled bands, NoData, degenerate and exactly-tied fields, incremental updates and the thread runtime; the Python package and the command-line tool have their own suites. No change is committed until the suite and an automated check of the library's architecture rules pass.
Checked against independent implementations
Earlier, independently written engines are kept as test oracles. The current engine's contours are compared with theirs on generated fields of every kind, and filled bands are checked for exact area: the bands of a grid must cover it completely, with no gap or overlap.
Fuzzing and sanitizers
A fuzz test drives the public API with random grids, levels, NoData patterns, coordinate systems and options, and checks every result for consistency. It runs under AddressSanitizer and UndefinedBehaviorSanitizer; the multi-threaded paths also run under ThreadSanitizer, and memory-leak checks run before releases.
The same output everywhere
The library computes in a controlled floating-point mode, so its output is bit-identical across compilers and processors: 912 reference outputs match exactly on macOS (x86-64), Linux (x86-64) and Linux (ARM64). The geometry is the same for any thread count, and repeated runs with the same input and settings give the same result, which keeps your regression tests stable.
Benchmarks you can audit
Every performance figure on this site comes from a bare-metal reference run checked by an automated conformance audit, and the harness, specifications and results are public on GitHub. See benchmarks and methodology.
Security properties of the library and how to report a vulnerability: security.