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

Function CheckImplicitConstructor

cpp/src/arrow/datum_test.cc:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42template <typename T>
43void CheckImplicitConstructor(Datum::Kind expected_kind) {
44 std::shared_ptr<T> value;
45 Datum datum = value;
46 ASSERT_EQ(expected_kind, datum.kind());
47}
48
49TEST(Datum, ImplicitConstructors) {
50 CheckImplicitConstructor<Scalar>(Datum::SCALAR);

Callers

nothing calls this directly

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected