Macro async_stm::test_queue_mod
source · macro_rules! test_queue_mod { ($make:expr) => { ... }; }
Expand description
Reuse the same test definitions for each implementation of the TQueueLike trait
by calling this macro with a function to create a new instance of the queue.
For example:
test_queue_mod!(|| { crate::queues::tchan::TChan::<i32>::new() });