Crate mycotest

Source
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§

Modules§

Macros§

  • Asserts that a boolean expression is true.
  • Asserts that two values are equal.
  • Asserts that the left value is greater than the right value.
  • Asserts that the left value is greater than or equal to the right value.
  • Asserts that the left value is less than the right value.
  • Asserts that the left value is less than or equal to the right value.
  • Asserts that two values are not equal.
  • Declare a new test, sort-of like the #[test] attribute.
  • Returns a Failed error with the provided expression at the current source code location.

Structs§

  • Test descriptor created by decl_test!. Describes and allows running an individual test.

Traits§

  • Type which may be used as a test return type.

Type Aliases§