mycotest

Module assert

Source
Expand description

Non-panicking assertions.

These assertions behave similarly to the assertion macros in the Rust standard library, but rather than panicking, they immediately return a Result with a Failed error.

Since the kernel cannot currently unwind and recover from panics, this allows assertions to fail without halting the kernel, allowing other tests to run.

Structs§

  • An error that indicates that an assertion failed.