chromium/ui/gfx/geometry/rect_f_unittest.cc

// 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 "ui/gfx/geometry/rect_f.h"

#include <cmath>

#include "ui/gfx/geometry/insets_f.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/test/geometry_util.h"

namespace gfx {

TEST(RectFTest, FromRect) {}

TEST(RectFTest, ContainsPointF) {}

TEST(RectFTest, ContainsXY) {}

TEST(RectFTest, InclusiveContainsPointF) {}

TEST(RectFTest, InclusiveContainsXY) {}

TEST(RectFTest, BoundingRect) {}

TEST(RectFTest, Union) {}

TEST(RectFTest, UnionEvenIfEmpty) {}

TEST(RectFTest, UnionEnsuresContainWithFloatingError) {}

TEST(RectFTest, UnionIfEmptyResultTinySize) {}

TEST(RectFTest, UnionMaxRects) {}

TEST(RectFTest, CenterPoint) {}

TEST(RectFTest, ScaleRect) {}

TEST(RectFTest, IsExpressibleAsRect) {}

TEST(RectFTest, Offset) {}

TEST(RectFTest, Corners) {}

TEST(RectFTest, Centers) {}

TEST(RectFTest, Transpose) {}

TEST(RectFTest, ManhattanDistanceToPoint) {}

TEST(RectFTest, ManhattanInternalDistance) {}

TEST(RectFTest, Inset) {}

TEST(RectFTest, Outset) {}

TEST(RectFTest, InsetClamped) {}

TEST(RectFTest, InclusiveIntersect) {}

TEST(RectFTest, MaximumCoveredRect) {}

TEST(RectFTest, ClosestPoint) {}

TEST(RectFTest, MapRect) {}

TEST(RectFTest, ApproximatelyEqual) {}

}  // namespace gfx