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

Function TEST_P

cpp/src/arrow/util/decimal_test.cc:802–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800class Decimal128ToStringTest : public ::testing::TestWithParam<ToStringTestParam> {};
801
802TEST_P(Decimal128ToStringTest, ToString) {
803 const ToStringTestParam& param = GetParam();
804 const Decimal128 value(param.test_value);
805 const std::string printed_value = value.ToString(param.scale);
806 EXPECT_EQ(param.expected_string, printed_value);
807}
808
809INSTANTIATE_TEST_SUITE_P(Decimal128ToStringTest, Decimal128ToStringTest,
810 ::testing::ValuesIn(kToStringTestData));

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected