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

Function TEST_F

cpp/src/arrow/extension/tensor_extension_array_test.cc:80–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78};
79
80TEST_F(TestFixedShapeTensorType, CheckDummyRegistration) {
81 // We need a registered dummy type at runtime to allow for IPC deserialization
82 auto registered_type = GetExtensionType("arrow.fixed_shape_tensor");
83 ASSERT_EQ(registered_type->id(), Type::EXTENSION);
84}
85
86TEST_F(TestFixedShapeTensorType, CreateExtensionType) {
87 auto exact_ext_type = internal::checked_pointer_cast<FixedShapeTensorType>(ext_type_);

Callers 1

ASSERT_OK_AND_ASSIGNFunction · 0.70

Calls 15

GetExtensionTypeFunction · 0.85
fixed_shape_tensorFunction · 0.85
WrapFunction · 0.85
fixed_size_listFunction · 0.85
RoundtripBatchFunction · 0.85
CompareBatchFunction · 0.85
key_value_metadataFunction · 0.85
RaisesFunction · 0.85
ArrayFromJSONFunction · 0.85
CheckFromTensorTypeFunction · 0.85

Tested by

no test coverage detected