// Copyright 2018 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/fxcrt/cfx_bitstream.h" #include <limits> #include "core/fxcrt/compiler_specific.h" #include "core/fxcrt/span.h" #include "testing/gtest/include/gtest/gtest.h" namespace { uint32_t ReferenceGetBits32(const uint8_t* pData, int bitpos, int nbits) { … } } // namespace TEST(fxcrt, BitStream) { … } TEST(fxcrt, BitStreamEmpty) { … } TEST(fxcrt, BitStreamBig) { … } TEST(fxcrt, BitStreamSameAsReferenceGetBits32) { … }