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

Function TEST_P

cpp/src/arrow/testing/random_test.cc:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90};
91
92TEST_P(RandomArrayTest, GenerateArray) {
93 auto field = GetField();
94 auto array = GenerateArray(*field, kExpectedLength, 0xDEADBEEF);
95 AssertTypeEqual(field->type(), array->type());
96 ASSERT_EQ(kExpectedLength, array->length());
97 ASSERT_OK(array->ValidateFull());
98}
99
100TEST_P(RandomArrayTest, GenerateArrayAlignment) {
101 const int64_t alignment = 1024;

Callers

nothing calls this directly

Calls 15

GetFieldFunction · 0.85
GenerateBatchFunction · 0.85
key_value_metadataFunction · 0.85
addressMethod · 0.80
WithNullableMethod · 0.80
GenerateArrayFunction · 0.70
schemaFunction · 0.50
typeMethod · 0.45
lengthMethod · 0.45
ValidateFullMethod · 0.45
schemaMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected