#include "util/base64.h"
#include <cstring>
#include <string>
#include <vector>
#include "gtest/gtest.h"
namespace openscreen::base64 {
namespace {
constexpr char kText[] = …;
constexpr char kBase64Text[] = …;
void CheckEquals(const char* expected, const std::vector<uint8_t>& actual) { … }
void CheckEncodeDecode(const char* to_encode, const char* encode_expected) { … }
}
TEST(Base64Test, ZeroSize) { … }
TEST(Base64Test, Basic) { … }
TEST(Base64Test, Binary) { … }
TEST(Base64Test, InPlace) { … }
}