MCPcopy Create free account
hub / github.com/apache/arrow / TEST_F

Function TEST_F

cpp/src/arrow/compute/kernels/vector_pairwise_test.cc:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86};
87
88TEST_F(TestPairwiseDiff, Empty) {
89 for (int64_t period = -2; period <= 2; ++period) {
90 PairwiseOptions options(period);
91 for (auto input_type : test_input_types_) {
92 ASSERT_OK_AND_ASSIGN(auto output_type, GetOutputType(input_type));
93 auto input = ArrayFromJSON(input_type, "[]");
94 auto output = ArrayFromJSON(output_type, "[]");
95 CheckVectorUnary("pairwise_diff", input, output, &options);
96 }
97 }
98}
99
100TEST_F(TestPairwiseDiff, AllNull) {
101 for (int64_t period = -2; period <= 2; ++period) {

Callers

nothing calls this directly

Calls 6

ArrayFromJSONFunction · 0.85
CheckVectorUnaryFunction · 0.85
CallFunctionFunction · 0.85
decimal256Function · 0.85
decimal128Function · 0.50
idMethod · 0.45

Tested by

no test coverage detected