| 2639 | // |
| 2640 | |
| 2641 | void CheckIndex(Datum array, const std::shared_ptr<Scalar>& value, int64_t expected) { |
| 2642 | IndexOptions options(value); |
| 2643 | ASSERT_OK_AND_ASSIGN(Datum out, Index(array, options)); |
| 2644 | const Int64Scalar& out_index = out.scalar_as<Int64Scalar>(); |
| 2645 | ASSERT_EQ(out_index.value, expected); |
| 2646 | } |
| 2647 | |
| 2648 | template <typename ArrowType> |
| 2649 | class TestIndexKernel : public ::testing::Test { |
no outgoing calls
no test coverage detected