#include <stddef.h>
#include <algorithm>
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/point_f.h"
#include "ui/gfx/geometry/triangle_f.h"
namespace gfx {
namespace {
constexpr PointF kPointA(1, 1);
constexpr PointF kPointB(10, 1);
constexpr PointF kPointC(1, 10);
}
TEST(TriangleTest, PointIsInTriangleInside) { … }
TEST(TriangleTest, PointIsInTriangleOutside) { … }
TEST(TriangleTest, PointIsInTriangleEdge) { … }
TEST(TriangleTest, PointIsInTriangleVertex) { … }
}