MCPcopy Create free account
hub / github.com/fmtlib/fmt / TEST

Function TEST

test/ranges-test.cc:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30#ifdef FMT_RANGES_TEST_ENABLE_C_STYLE_ARRAY
31TEST(ranges_test, format_array) {
32 int arr[] = {1, 2, 3, 5, 7, 11};
33 EXPECT_EQ(fmt::format("{}", arr), "[1, 2, 3, 5, 7, 11]");
34}
35
36TEST(ranges_test, format_2d_array) {
37 int arr[][2] = {{1, 2}, {3, 5}, {7, 11}};

Callers

nothing calls this directly

Calls 15

to_stringFunction · 0.85
vecClass · 0.85
transformFunction · 0.85
is_printableFunction · 0.85
stringClass · 0.85
tieableClass · 0.85
test_adaptorClass · 0.85
formatFunction · 0.70
format_toFunction · 0.50
joinFunction · 0.50

Tested by

no test coverage detected