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

Function TEST

test/format-test.cc:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54enum { buffer_size = 256 };
55
56TEST(uint128_test, ctor) {
57 auto n = uint128();
58 EXPECT_EQ(n, 0);
59 n = uint128(42);
60 EXPECT_EQ(n, 42);
61 EXPECT_EQ(static_cast<uint64_t>(n), 42);
62}
63
64TEST(uint128_test, shift) {
65 auto n = uint128(42);

Callers 1

format-test.ccFile · 0.70

Calls 15

uint128Class · 0.85
incrementFunction · 0.85
parse_nonnegative_intFunction · 0.85
utf8_to_utf16Class · 0.85
stringClass · 0.85
allocateFunction · 0.85
ReturnFunction · 0.85
format_system_errorFunction · 0.85
to_stringFunction · 0.85
system_errorFunction · 0.85
report_system_errorFunction · 0.85
check_move_assign_bufferFunction · 0.85

Tested by

no test coverage detected