// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/base/video_aspect_ratio.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/geometry/rect.h" #include "ui/gfx/geometry/size.h" namespace media { namespace { constexpr gfx::Rect kRect_4_3(0, 0, 4, 3); constexpr gfx::Rect kRect_16_9(0, 0, 16, 9); } // namespace TEST(VideoAspectRatioTest, DefaultConstruction) { … } TEST(VideoAspectRatioTest, FromNaturalSize) { … } TEST(VideoAspectRatioTest, Pixel) { … } TEST(VideoAspectRatioTest, Display) { … } } // namespace media