| 462 | |
| 463 | template <> |
| 464 | void TestPrimitiveWriter<Int96Type>::ReadAndCompare(Compression::type compression, |
| 465 | int64_t num_rows, |
| 466 | bool page_checksum_verify) { |
| 467 | this->SetupValuesOut(num_rows); |
| 468 | this->ReadColumnFully(compression, page_checksum_verify); |
| 469 | |
| 470 | auto comparator = MakeComparator<Int96Type>(Type::INT96, SortOrder::SIGNED); |
| 471 | for (size_t i = 0; i < this->values_.size(); i++) { |
| 472 | if (comparator->Compare(this->values_[i], this->values_out_[i]) || |
| 473 | comparator->Compare(this->values_out_[i], this->values_[i])) { |
| 474 | ARROW_SCOPED_TRACE("i = ", i); |
| 475 | } |
| 476 | ASSERT_FALSE(comparator->Compare(this->values_[i], this->values_out_[i])); |
| 477 | ASSERT_FALSE(comparator->Compare(this->values_out_[i], this->values_[i])); |
| 478 | } |
| 479 | ASSERT_EQ(this->values_, this->values_out_); |
| 480 | } |
| 481 | |
| 482 | template <> |
| 483 | void TestPrimitiveWriter<FLBAType>::ReadColumnFully(Compression::type compression, |
no test coverage detected