// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/accessibility/ax_bit_map.h" #include "testing/gtest/include/gtest/gtest.h" namespace ui { enum class SmallTestEnum { … }; enum class LargeTestEnum { … }; // A macro for testing that a std::optional has both a value and that its value // is set to a particular expectation. #define EXPECT_OPTIONAL_EQ(expected, actual) … // Tests a small enum (one that fits inside a single byte (aka kMaxValue <= 63). TEST(AXBitMapTest, SmallEnum) { … } // Tests a large enum (one that requires two bytes (aka kMaxValue <= 127). TEST(AXBitMapTest, LargeEnum) { … } } // namespace ui