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

Function TEST_P

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

Source from the content-addressed store, hash-verified

3293using Decimal32Test = DecimalTest<Decimal32Type>;
3294
3295TEST_P(Decimal32Test, NoNulls) {
3296 int32_t precision = GetParam();
3297 std::vector<Decimal32> draw = {Decimal32(1), Decimal32(-2), Decimal32(2389),
3298 Decimal32(4), Decimal32(-12348)};
3299 std::vector<uint8_t> valid_bytes = {true, true, true, true, true};
3300 this->TestCreate(precision, draw, valid_bytes, 0);
3301 this->TestCreate(precision, draw, valid_bytes, 2);
3302}
3303
3304TEST_P(Decimal32Test, WithNulls) {
3305 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