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

Method TestMakeScalar

cpp/src/arrow/scalar_test.cc:792–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

790 void SetUp() { type_ = TypeTraits<T>::type_singleton(); }
791
792 void TestMakeScalar() {
793 AssertMakeScalar(ScalarType("three"), type_, Buffer::FromString("three"));
794
795 AssertParseScalar(type_, "three", ScalarType("three"));
796 }
797
798 void TestArrayGetScalar() {
799 auto arr = ArrayFromJSON(type_, R"([null, "one", "two"])");

Callers 1

TYPED_TESTFunction · 0.80

Calls 3

AssertMakeScalarFunction · 0.85
FromStringFunction · 0.85
AssertParseScalarFunction · 0.85

Tested by

no test coverage detected