#include "llvm/Support/LEB128.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/raw_ostream.h"
#include "gtest/gtest.h"
#include <string>
usingnamespacellvm;
namespace {
TEST(LEB128Test, EncodeSLEB128) { … }
TEST(LEB128Test, EncodeULEB128) { … }
TEST(LEB128Test, DecodeULEB128) { … }
TEST(LEB128Test, DecodeInvalidULEB128) { … }
TEST(LEB128Test, DecodeSLEB128) { … }
TEST(LEB128Test, DecodeInvalidSLEB128) { … }
TEST(LEB128Test, DecodeAndInc) { … }
TEST(LEB128Test, SLEB128Size) { … }
TEST(LEB128Test, ULEB128Size) { … }
}