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

Function CheckImplicitConstructor

cpp/src/arrow/datum_test.cc:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected