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

Function TestAnyIntUpTo32

cpp/src/arrow/util/formatting_util_test.cc:88–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87template <typename FormatterType>
88void TestAnyIntUpTo32(FormatterType& formatter) {
89 TestAnyIntUpTo16(formatter);
90 AssertFormatting(formatter, 99999, "99999");
91 AssertFormatting(formatter, 100000, "100000");
92 AssertFormatting(formatter, 999999, "999999");
93 AssertFormatting(formatter, 1000000, "1000000");
94 AssertFormatting(formatter, 9999999, "9999999");
95 AssertFormatting(formatter, 10000000, "10000000");
96 AssertFormatting(formatter, 99999999, "99999999");
97 AssertFormatting(formatter, 100000000, "100000000");
98 AssertFormatting(formatter, 999999999, "999999999");
99 AssertFormatting(formatter, 1000000000, "1000000000");
100 AssertFormatting(formatter, 1234567890, "1234567890");
101 AssertFormatting(formatter, 2147483647, "2147483647");
102}
103
104template <typename FormatterType>
105void TestAnyIntUpTo64(FormatterType& formatter) {

Callers 3

TestAnyIntUpTo64Function · 0.85
TestUIntUpTo32Function · 0.85
TestIntUpTo32Function · 0.85

Calls 2

TestAnyIntUpTo16Function · 0.85
AssertFormattingFunction · 0.85

Tested by

no test coverage detected