pub fn assert_length<T>(collection: &[T], expected: usize)
Assert that a collection has a specific length