1 macro_rules! check { 2 ($f:tt) => { 3 assert_eq!(pretty($f), stringify!($f)); 4 }; 5 (-$f:tt) => { 6 assert_eq!(pretty(-$f), concat!("-", stringify!($f))); 7 }; 8 } 9