#ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif // Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/base32/base32.h" #include <stdint.h> #include <string> #include "base/ranges/algorithm.h" #include "testing/gtest/include/gtest/gtest.h" namespace base32 { namespace { TEST(Base32Test, EncodesRfcTestVectorsCorrectlyWithoutPadding) { … } TEST(Base32Test, EncodesRfcTestVectorsCorrectlyWithPadding) { … } TEST(Base32Test, EncodesSha256HashCorrectly) { … } } // namespace } // namespace base32