MCPcopy Create free account
hub / github.com/catboost/catboost / Y_UNIT_TEST

Function Y_UNIT_TEST

library/cpp/string_utils/base64/base64_ut.cpp:211–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209
210Y_UNIT_TEST_SUITE(TBase64) {
211 Y_UNIT_TEST(TestEncode) {
212 UNIT_ASSERT_VALUES_EQUAL(Base64Encode("12z"), "MTJ6");
213 UNIT_ASSERT_VALUES_EQUAL(Base64Encode("123"), "MTIz");
214 UNIT_ASSERT_VALUES_EQUAL(Base64Encode("12"), "MTI=");
215 UNIT_ASSERT_VALUES_EQUAL(Base64Encode("1"), "MQ==");
216 }
217
218 Y_UNIT_TEST(TestIntoString) {
219 {

Callers

nothing calls this directly

Calls 15

Base64DecodeUnevenFunction · 0.85
Base64EncodeBufSizeFunction · 0.85
GetImplsFunction · 0.85
Base64DecodeBufSizeFunction · 0.85
Base64EncodeFunction · 0.70
Base64DecodeFunction · 0.70
Base64StrictDecodeFunction · 0.70
Base64EncodeUrlNoPaddingFunction · 0.70
UninitializedFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected