``` rust macro_rules! assert_pattern { ($a:expr => $b:pat) => { assert!(match $a { $b => true, _ => false }); } } ``` Something like this would be useful for checking a pattern instead of deriving `Eq,PartialEq` for an enum.