Macro test_tools::diagnostics::prelude::a_dbg_id
source · macro_rules! a_dbg_id { ( $( $arg:tt )* ) => { ... }; }
Expand description
Asserts that two expressions are identical.
This macro will invoke the panic! macro if the two expressions have different values at runtime. Like a_id!, this macro also has a second version where a custom panic message can be provided.
§Basic use-case.
use diagnostics_tools::prelude::*;
a_dbg_id!( 1, 1, "something wrong" );