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

Function TEST

cpp/src/parquet/types_test.cc:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace parquet {
26
27TEST(TestTypeToString, PhysicalTypes) {
28 ASSERT_STREQ("BOOLEAN", TypeToString(Type::BOOLEAN).c_str());
29 ASSERT_STREQ("INT32", TypeToString(Type::INT32).c_str());
30 ASSERT_STREQ("INT64", TypeToString(Type::INT64).c_str());
31 ASSERT_STREQ("INT96", TypeToString(Type::INT96).c_str());
32 ASSERT_STREQ("FLOAT", TypeToString(Type::FLOAT).c_str());
33 ASSERT_STREQ("DOUBLE", TypeToString(Type::DOUBLE).c_str());
34 ASSERT_STREQ("BYTE_ARRAY", TypeToString(Type::BYTE_ARRAY).c_str());
35 ASSERT_STREQ("FIXED_LEN_BYTE_ARRAY", TypeToString(Type::FIXED_LEN_BYTE_ARRAY).c_str());
36}
37
38TEST(TestConvertedTypeToString, ConvertedTypes) {
39 ASSERT_STREQ("NONE", ConvertedTypeToString(ConvertedType::NONE).c_str());

Callers

nothing calls this directly

Calls 11

TypeToStringFunction · 0.85
ConvertedTypeToStringFunction · 0.85
FormatStatValueFunction · 0.85
StringClass · 0.85
Int96GetNanoSecondsFunction · 0.85
push_backMethod · 0.80
DecimalClass · 0.70
Float16Class · 0.70
checkFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected