| 1108 | } |
| 1109 | |
| 1110 | bool ArrayRangeEquals(const Array& left, const Array& right, int64_t left_start_idx, |
| 1111 | int64_t left_end_idx, int64_t right_start_idx, |
| 1112 | const EqualOptions& options, bool floating_approximate) { |
| 1113 | bool are_equal = |
| 1114 | CompareArrayRanges(*left.data(), *right.data(), left_start_idx, left_end_idx, |
| 1115 | right_start_idx, options, floating_approximate); |
| 1116 | if (!are_equal) { |
| 1117 | ARROW_IGNORE_EXPR(PrintDiff( |
| 1118 | left, right, left_start_idx, left_end_idx, right_start_idx, |
| 1119 | right_start_idx + (left_end_idx - left_start_idx), options.diff_sink())); |
| 1120 | } |
| 1121 | return are_equal; |
| 1122 | } |
| 1123 | |
| 1124 | bool ArrayEquals(const Array& left, const Array& right, const EqualOptions& opts, |
| 1125 | bool floating_approximate) { |
no test coverage detected