Available on crate feature test-util only.
Expand description

Test utilities for time and sleep

Modules§

  • Test time/sleep implementations that work by manually advancing time with a tick()

Structs§

Functions§

  • Returns a trio of tools to test interactions with time
  • Returns a duo of tools to test interactions with time. Sleeps will end instantly, but the desired length of the sleeps will be recorded for later verification.