chromium/ui/gfx/geometry/size_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/size_f.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/geometry/test/geometry_util.h"

namespace gfx {

TEST(SizeFTest, SizeToSizeF) {}

TEST(SizeFTest, ToFlooredSize) {}

TEST(SizeFTest, ToCeiledSize) {}

TEST(SizeFTest, ToRoundedSize) {}

TEST(SizeFTest, SetToMinMax) {}

TEST(SizeFTest, OperatorAddSub) {}

TEST(SizeFTest, IsEmpty) {}

// These are the ramifications of the decision to keep the recorded size
// at zero for trivial sizes.
TEST(SizeFTest, ClampsToZero) {}

// These make sure the constructor and setter have the same effect on the
// boundary case. This claims to know the boundary, but not which way it goes.
TEST(SizeFTest, ConsistentClamping) {}

TEST(SizeFTest, Transpose) {}

TEST(SizeFTest, ToString) {}

}  // namespace gfx