chromium/ui/gfx/geometry/rrect_f_unittest.cc

// 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.

#include "ui/gfx/geometry/rrect_f.h"

#include <algorithm>

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/rect_f.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/gfx/geometry/rrect_f_builder.h"

namespace gfx {

TEST(RRectFTest, IsEmpty) {}

TEST(RRectFTest, Equals) {}

TEST(RRectFTest, PlusMinusOffset) {}

TEST(RRectFTest, RRectTypes) {}

void CheckRadii(RRectF val,
                float ulx,
                float uly,
                float urx,
                float ury,
                float lrx,
                float lry,
                float llx,
                float lly) {}

TEST(RRectFTest, RRectRadii) {}

TEST(RRectFTest, FromRectF) {}

TEST(RRectFTest, FromSkRRect) {}

TEST(RRectFTest, FromRoundedCornersF) {}

TEST(RRectFTest, ToString) {}

TEST(RRectFTest, Sizes) {}

TEST(RRectFTest, Contains) {}

TEST(RRectFTest, HasRoundedCorners) {}

TEST(RRectFTest, Scale) {}

TEST(RRectFTest, InsetOutset) {}

// The following tests(started with "Build*") are for RRectFBuilder. All
// different tests are to make sure that existing RRectF definitions can be
// implemented with RRectFBuilder.
TEST(RRectFTest, BuildFromRectF) {}

TEST(RRectFTest, BuildFromRadius) {}

TEST(RRectFTest, BuildFromRectFWithRadius) {}

TEST(RRectFTest, BuildFromCorners) {}

TEST(RRectFTest, BuildFromRectFWithCorners) {}

TEST(RRectFTest, BuildFromRoundedCornersF) {}

// In the following tests(*CornersHigherThanSize), we test whether the corner
// radii gets truncated in case of being greater than the width/height.
TEST(RRectFTest, BuildFromCornersHigherThanSize) {}

TEST(RRectFTest, BuildFromRectFWithCornersHigherThanSize) {}

// In this test, we set the radius first but then change the value of the
// corners.
TEST(RRectFTest, BuildFromRadiusAndCorners) {}

}  // namespace gfx