pub(crate) fn are_slices_equal(a: &[usize], b: &[usize]) -> bool {
    a == b
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn check_matching() {
        assert!(are_slices_equal(&[], &[]));
        assert!(are_slices_equal(&[1], &[1]));
        assert!(are_slices_equal(&[1, 2, 3], &[1, 2, 3]));
    }
    #[test]
    fn check_not_matching() {
        assert!(!are_slices_equal(&[], &[1]));
        assert!(!are_slices_equal(&[1], &[]));
        assert!(!are_slices_equal(&[1], &[2]));
        assert!(!are_slices_equal(&[1, 2, 3], &[1, 2, 4]));
        assert!(!are_slices_equal(&[1, 2, 3], &[1, 2, 3, 4]));
    }
}
