Flutter Engine
The Flutter Engine
Namespaces | Functions
rect_unittests.cc File Reference
#include "gtest/gtest.h"
#include "flutter/impeller/geometry/rect.h"
#include "flutter/impeller/geometry/geometry_asserts.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Functions

 impeller::testing::TEST (RectTest, RectEmptyDeclaration)
 
 impeller::testing::TEST (RectTest, IRectEmptyDeclaration)
 
 impeller::testing::TEST (RectTest, RectDefaultConstructor)
 
 impeller::testing::TEST (RectTest, IRectDefaultConstructor)
 
 impeller::testing::TEST (RectTest, RectSimpleLTRB)
 
 impeller::testing::TEST (RectTest, IRectSimpleLTRB)
 
 impeller::testing::TEST (RectTest, RectSimpleXYWH)
 
 impeller::testing::TEST (RectTest, IRectSimpleXYWH)
 
 impeller::testing::TEST (RectTest, RectOverflowXYWH)
 
 impeller::testing::TEST (RectTest, IRectOverflowXYWH)
 
 impeller::testing::TEST (RectTest, RectOverflowLTRB)
 
 impeller::testing::TEST (RectTest, IRectOverflowLTRB)
 
 impeller::testing::TEST (RectTest, RectMakeSize)
 
 impeller::testing::TEST (RectTest, RectMakeMaximum)
 
 impeller::testing::TEST (RectTest, IRectMakeMaximum)
 
 impeller::testing::TEST (RectTest, RectFromRect)
 
 impeller::testing::TEST (RectTest, IRectFromIRect)
 
 impeller::testing::TEST (RectTest, RectCopy)
 
 impeller::testing::TEST (RectTest, IRectCopy)
 
 impeller::testing::TEST (RectTest, RectOriginSizeXYWHGetters)
 
 impeller::testing::TEST (RectTest, IRectOriginSizeXYWHGetters)
 
 impeller::testing::TEST (RectTest, RectRoundOutEmpty)
 
 impeller::testing::TEST (RectTest, RectRoundOutSimple)
 
 impeller::testing::TEST (RectTest, RectRoundOutToIRectHuge)
 
 impeller::testing::TEST (RectTest, RectDoesNotIntersectEmpty)
 
 impeller::testing::TEST (RectTest, IRectDoesNotIntersectEmpty)
 
 impeller::testing::TEST (RectTest, EmptyRectDoesNotIntersect)
 
 impeller::testing::TEST (RectTest, EmptyIRectDoesNotIntersect)
 
 impeller::testing::TEST (RectTest, RectScale)
 
 impeller::testing::TEST (RectTest, IRectScale)
 
 impeller::testing::TEST (RectTest, RectArea)
 
 impeller::testing::TEST (RectTest, IRectArea)
 
 impeller::testing::TEST (RectTest, RectGetNormalizingTransform)
 
 impeller::testing::TEST (RectTest, IRectGetNormalizingTransform)
 
 impeller::testing::TEST (RectTest, RectXYWHIsEmpty)
 
 impeller::testing::TEST (RectTest, IRectXYWHIsEmpty)
 
 impeller::testing::TEST (RectTest, MakePointBoundsQuad)
 
 impeller::testing::TEST (RectTest, IsSquare)
 
 impeller::testing::TEST (RectTest, GetCenter)
 
 impeller::testing::TEST (RectTest, RectExpand)
 
 impeller::testing::TEST (RectTest, IRectExpand)
 
 impeller::testing::TEST (RectTest, ContainsFloatingPoint)
 
template<typename R >
static constexpr R impeller::testing::flip_lr (R rect)
 
template<typename R >
static constexpr R impeller::testing::flip_tb (R rect)
 
template<typename R >
static constexpr R impeller::testing::flip_lrtb (R rect)
 
static constexpr Rect impeller::testing::swap_nan (const Rect &rect, int index)
 
static constexpr Point impeller::testing::swap_nan (const Point &point, int index)
 
 impeller::testing::TEST (RectTest, RectUnion)
 
 impeller::testing::TEST (RectTest, OptRectUnion)
 
 impeller::testing::TEST (RectTest, IRectUnion)
 
 impeller::testing::TEST (RectTest, OptIRectUnion)
 
 impeller::testing::TEST (RectTest, RectIntersection)
 
 impeller::testing::TEST (RectTest, OptRectIntersection)
 
 impeller::testing::TEST (RectTest, IRectIntersection)
 
 impeller::testing::TEST (RectTest, OptIRectIntersection)
 
 impeller::testing::TEST (RectTest, RectIntersectsWithRect)
 
 impeller::testing::TEST (RectTest, IRectIntersectsWithRect)
 
 impeller::testing::TEST (RectTest, RectContainsPoint)
 
 impeller::testing::TEST (RectTest, IRectContainsIPoint)
 
 impeller::testing::TEST (RectTest, RectContainsInclusivePoint)
 
 impeller::testing::TEST (RectTest, IRectContainsInclusiveIPoint)
 
 impeller::testing::TEST (RectTest, RectContainsRect)
 
 impeller::testing::TEST (RectTest, IRectContainsIRect)
 
 impeller::testing::TEST (RectTest, RectCutOut)
 
 impeller::testing::TEST (RectTest, IRectCutOut)
 
 impeller::testing::TEST (RectTest, RectGetPoints)
 
 impeller::testing::TEST (RectTest, RectShift)
 
 impeller::testing::TEST (RectTest, RectGetTransformedPoints)
 
 impeller::testing::TEST (RectTest, RectMakePointBounds)
 
 impeller::testing::TEST (RectTest, RectGetPositive)
 
 impeller::testing::TEST (RectTest, RectDirections)
 
 impeller::testing::TEST (RectTest, RectProject)
 
 impeller::testing::TEST (RectTest, RectRoundOut)
 
 impeller::testing::TEST (RectTest, IRectRoundOut)
 
 impeller::testing::TEST (RectTest, RectRound)
 
 impeller::testing::TEST (RectTest, IRectRound)
 
 impeller::testing::TEST (RectTest, TransformAndClipBounds)