MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / TEST

Function TEST

tests/test_base64.cpp:25–30  ·  view source on GitHub ↗

NOLINTNEXTLINE

Source from the content-addressed store, hash-verified

23
24// NOLINTNEXTLINE
25TEST(Base64Encode, EncodesEmpty)
26{
27 std::string const expected{};
28 std::string const actual{endstone::core::base64_encode({})};
29 ASSERT_EQ(expected, actual);
30}
31
32// NOLINTNEXTLINE
33TEST(Base64Encode, EncodesThreeBytesZeros)

Callers

nothing calls this directly

Calls 6

base64_encodeFunction · 0.85
push_backMethod · 0.80
valueMethod · 0.80
base64_decodeFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected