| 2533 | class TestAllKernel : public ::testing::Test { |
| 2534 | public: |
| 2535 | void AssertAllIs(const Datum& array, const std::shared_ptr<BooleanScalar>& expected, |
| 2536 | const ScalarAggregateOptions& options) { |
| 2537 | SCOPED_TRACE(options.ToString()); |
| 2538 | ASSERT_OK_AND_ASSIGN(Datum out, All(array, options, nullptr)); |
| 2539 | const BooleanScalar& out_all = out.scalar_as<BooleanScalar>(); |
| 2540 | AssertScalarsEqual(*expected, out_all, /*verbose=*/true); |
| 2541 | } |
| 2542 | |
| 2543 | void AssertAllIs( |
| 2544 | const std::string& json, const std::shared_ptr<BooleanScalar>& expected, |
no test coverage detected