use arrow2::array::*;
mod dictionary;
mod fixed_size_list;
mod list;
mod primitive;
mod utf8;
pub fn test_equal(lhs: &dyn Array, rhs: &dyn Array, expected: bool) {
// equality is symmetric
assert!(equal(lhs, lhs), "\n{lhs:?}\n{lhs:?}");
assert!(equal(rhs, rhs), "\n{rhs:?}\n{rhs:?}");
assert_eq!(equal(lhs, rhs), expected, "\n{lhs:?}\n{rhs:?}");
assert_eq!(equal(rhs, lhs), expected, "\n{rhs:?}\n{lhs:?}");
}
#[allow(clippy::type_complexity)]
fn binary_cases() -> Vec<(Vec