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

Function TEST_P

cpp/src/arrow/array/array_test.cc:3345–3352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3343using Decimal32Test = DecimalTest<Decimal32Type>;
3344
3345TEST_P(Decimal32Test, NoNulls) {
3346 int32_t precision = GetParam();
3347 std::vector<Decimal32> draw = {Decimal32(1), Decimal32(-2), Decimal32(2389),
3348 Decimal32(4), Decimal32(-12348)};
3349 std::vector<uint8_t> valid_bytes = {true, true, true, true, true};
3350 this->TestCreate(precision, draw, valid_bytes, 0);
3351 this->TestCreate(precision, draw, valid_bytes, 2);
3352}
3353
3354TEST_P(Decimal32Test, WithNulls) {
3355 int32_t precision = GetParam();

Callers

nothing calls this directly

Calls 10

FromStringFunction · 0.85
GetMaxValueFunction · 0.85
TestCreateMethod · 0.80
push_backMethod · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.70
Decimal32Function · 0.50
Decimal64Function · 0.50
Decimal128Function · 0.50
Decimal256Function · 0.50
ValidateFullMethod · 0.45

Tested by

no test coverage detected