// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/numerics/byte_conversions.h" #include <array> #include <bit> #include <concepts> #include <cstdint> #include "testing/gtest/include/gtest/gtest.h" namespace base::numerics { TEST(NumericsTest, FromNativeEndian) { … } TEST(NumericsTest, FromLittleEndian) { … } TEST(NumericsTest, FromBigEndian) { … } TEST(NumericsTest, ToNativeEndian) { … } TEST(NumericsTest, ToLittleEndian) { … } TEST(NumericsTest, ToBigEndian) { … } } // namespace base::numerics