Expand description
Shared defs between the kernel and the test runner.
This is in its own crate mainly so the constants are the same and I can’t have the kernel write the wrong strings (which I did lol).
Re-exports§
pub use report::Failure;
Modules§
Macros§
- assert
- Asserts that a boolean expression is true.
- assert_
eq - Asserts that two values are equal.
- assert_
gt - Asserts that the left value is greater than the right value.
- assert_
gte - Asserts that the left value is greater than or equal to the right value.
- assert_
lt - Asserts that the left value is less than the right value.
- assert_
lte - Asserts that the left value is less than or equal to the right value.
- assert_
ne - Asserts that two values are not equal.
- decl_
test - Declare a new test, sort-of like the
#[test]
attribute. - fail
- Returns a
Failed
error with the provided expression at the current source code location.
Structs§
Traits§
- Test
Report - Type which may be used as a test return type.