
The assert_functions module provides assertion tools for unit tests, runtime contracts and diagnostic checks.
All assertions share the same contract: with no output they raise an error on failure; with outputs they return [res, msg].
The canonical API uses qualified assertion names, for example asserts.isequal, asserts.warning and asserts.satisfies.