// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "third_party/blink/renderer/core/layout/layout_shift_region.h" #include <gtest/gtest.h> #include "cc/base/region.h" namespace blink { class LayoutShiftRegionTest : public testing::Test { … }; TEST_F(LayoutShiftRegionTest, Basic) { … } TEST_F(LayoutShiftRegionTest, LargeRandom) { … } // Creates a region like this: // █ █ █ // ███████ // █ █ █ // ███████ // █ █ █ // ███████ // █ █ █ TEST_F(LayoutShiftRegionTest, Waffle) { … } } // namespace blink