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

Method SetUp

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

Source from the content-addressed store, hash-verified

66class TestPairwiseDiff : public ::testing::Test {
67 public:
68 void SetUp() override {
69 test_numerical_types_ = NumericTypes();
70 test_temporal_types_ = TemporalTypes();
71 test_decimal_types_ = {decimal128(4, 2), decimal256(70, 10)};
72
73 test_input_types_.insert(test_input_types_.end(), test_numerical_types_.begin(),
74 test_numerical_types_.end());
75 test_input_types_.insert(test_input_types_.end(), test_temporal_types_.begin(),
76 test_temporal_types_.end());
77 test_input_types_.insert(test_input_types_.end(), test_decimal_types_.begin(),
78 test_decimal_types_.end());
79 }
80
81 protected:
82 std::vector<std::shared_ptr<DataType>> test_numerical_types_;

Callers

nothing calls this directly

Calls 5

decimal256Function · 0.85
decimal128Function · 0.50
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected