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

Method TestMakeScalar

cpp/src/arrow/scalar_test.cc:791–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789 void SetUp() { type_ = TypeTraits<T>::type_singleton(); }
790
791 void TestMakeScalar() {
792 AssertMakeScalar(ScalarType("three"), type_, Buffer::FromString("three"));
793
794 AssertParseScalar(type_, "three", ScalarType("three"));
795 }
796
797 void TestArrayGetScalar() {
798 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