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

Function TestIntUpTo64

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

Source from the content-addressed store, hash-verified

209
210template <typename FormatterType>
211void TestIntUpTo64(FormatterType& formatter) {
212 TestAnyIntUpTo64(formatter);
213 TestIntUpTo32(formatter);
214 AssertFormatting(formatter, -2147483649LL, "-2147483649");
215 AssertFormatting(formatter, -9999999999LL, "-9999999999");
216 AssertFormatting(formatter, -1000000000000000000LL, "-1000000000000000000");
217 AssertFormatting(formatter, -9012345678901234567LL, "-9012345678901234567");
218 AssertFormatting(formatter, -9223372036854775807LL, "-9223372036854775807");
219 AssertFormatting(formatter, -9223372036854775807LL - 1, "-9223372036854775808");
220}
221
222TEST(Formatting, Int8) {
223 StringFormatter<Int8Type> formatter;

Callers 1

TESTFunction · 0.85

Calls 3

TestAnyIntUpTo64Function · 0.85
TestIntUpTo32Function · 0.85
AssertFormattingFunction · 0.85

Tested by

no test coverage detected