#include "components/zucchini/patch_utils.h"
#include <stdint.h>
#include <iterator>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
namespace zucchini {
template <class T>
void TestEncodeDecodeVarUInt(const std::vector<T>& data) { … }
template <class T>
void TestEncodeDecodeVarInt(const std::vector<T>& data) { … }
TEST(PatchUtilsTest, EncodeDecodeVarUInt32) { … }
TEST(PatchUtilsTest, EncodeDecodeVarInt32) { … }
TEST(PatchUtilsTest, EncodeDecodeVarUInt64) { … }
TEST(PatchUtilsTest, EncodeDecodeVarInt64) { … }
TEST(PatchUtilsTest, DecodeVarUInt32Malformed) { … }
TEST(PatchUtilsTest, DecodeVarUInt64Malformed) { … }
}