Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
gfx_util.h File Reference
#include <iosfwd>
#include <string>
#include "gtest/gtest.h"

Go to the source code of this file.

Namespaces

namespace  gfx
 

Macros

#define EXPECT_AXIS_TRANSFORM2D_EQ(a, b)    EXPECT_PRED_FORMAT2(::gfx::AssertAxisTransform2dFloatEqual, a, b)
 
#define EXPECT_BOXF_EQ(a, b)    EXPECT_PRED_FORMAT2(::gfx::AssertBoxFloatEqual, a, b)
 
#define EXPECT_POINTF_EQ(a, b)    EXPECT_PRED_FORMAT2(::gfx::AssertPointFloatEqual, a, b)
 
#define EXPECT_RECTF_EQ(a, b)    EXPECT_PRED_FORMAT2(::gfx::AssertRectFloatEqual, a, b)
 
#define EXPECT_SIZEF_EQ(a, b)    EXPECT_PRED_FORMAT2(::gfx::AssertSizeFFloatEqual, a, b)
 

Functions

::testing::AssertionResult gfx::AssertAxisTransform2dFloatEqual (const char *lhs_expr, const char *rhs_expr, const AxisTransform2d &lhs, const AxisTransform2d &rhs)
 
::testing::AssertionResult gfx::AssertBoxFloatEqual (const char *lhs_expr, const char *rhs_expr, const BoxF &lhs, const BoxF &rhs)
 
::testing::AssertionResult gfx::AssertPointFloatEqual (const char *lhs_expr, const char *rhs_expr, const PointF &lhs, const PointF &rhs)
 
::testing::AssertionResult gfx::AssertRectFloatEqual (const char *lhs_expr, const char *rhs_expr, const RectF &lhs, const RectF &rhs)
 
::testing::AssertionResult gfx::AssertSizeFFloatEqual (const char *lhs_expr, const char *rhs_expr, const SizeF &lhs, const SizeF &rhs)
 

Macro Definition Documentation

◆ EXPECT_AXIS_TRANSFORM2D_EQ

#define EXPECT_AXIS_TRANSFORM2D_EQ (   a,
  b 
)     EXPECT_PRED_FORMAT2(::gfx::AssertAxisTransform2dFloatEqual, a, b)

Definition at line 21 of file gfx_util.h.

◆ EXPECT_BOXF_EQ

#define EXPECT_BOXF_EQ (   a,
  b 
)     EXPECT_PRED_FORMAT2(::gfx::AssertBoxFloatEqual, a, b)

Definition at line 30 of file gfx_util.h.

◆ EXPECT_POINTF_EQ

#define EXPECT_POINTF_EQ (   a,
  b 
)     EXPECT_PRED_FORMAT2(::gfx::AssertPointFloatEqual, a, b)

Definition at line 38 of file gfx_util.h.

◆ EXPECT_RECTF_EQ

#define EXPECT_RECTF_EQ (   a,
  b 
)     EXPECT_PRED_FORMAT2(::gfx::AssertRectFloatEqual, a, b)

Definition at line 46 of file gfx_util.h.

◆ EXPECT_SIZEF_EQ

#define EXPECT_SIZEF_EQ (   a,
  b 
)     EXPECT_PRED_FORMAT2(::gfx::AssertSizeFFloatEqual, a, b)

Definition at line 54 of file gfx_util.h.