use std::fmt::Debug; #[cfg(test)] pub fn assert_sorted_vec_eq(a: &Vec, b: &Vec) where T: PartialEq + Ord + Clone + Debug, { let mut a: Vec = (*a).clone(); let mut b: Vec = (*b).clone(); a.sort(); b.sort(); assert_eq!(a, b) }