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

Function test_buffer_size_query

test/c-test.c:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void test_buffer_size_query(void) {
82 int size = fmt_format(NULL, 0, "Test string: {}", 42);
83 ASSERT_INT_EQ(size, 15);
84}
85
86void test_print(void) {
87 FILE* file = tmpfile();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected