Test
Test module: lightweight assertion helpers for in-process testing.
Tests are plain March functions; a test passes if it returns without calling panic/fail. Use these helpers to make assertions.
Functions
Assert two booleans are equal.
Assert two ints are equal.
Assert two strings are equal.
Assert a Result is Err and return the error value.
Assert that cond is false; panic with msg if not.
Assert an Option is None.
Assert a Result is Ok and return the inner value.
Assert an Option is Some and return the inner value.
Assert that cond is true; panic with msg if not.
Fail immediately with a descriptive message.