#include "src/base/vlq.h"
#include <cmath>
#include <limits>
#include "src/base/memory.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest-support.h"
namespace v8 {
namespace base {
int ExpectedBytesUsed(int64_t value, bool is_signed) { … }
void TestVLQUnsignedEquals(uint32_t value) { … }
void TestVLQEquals(int32_t value) { … }
TEST(VLQ, Unsigned) { … }
TEST(VLQ, Positive) { … }
TEST(VLQ, Negative) { … }
TEST(VLQ, LimitsUnsigned) { … }
TEST(VLQ, LimitsSigned) { … }
TEST(VLQ, Random) { … }
}
}