5#ifndef UI_GFX_TEST_GFX_UTIL_H_
6#define UI_GFX_TEST_GFX_UTIL_H_
11#include "gtest/gtest.h"
21#define EXPECT_AXIS_TRANSFORM2D_EQ(a, b) \
22 EXPECT_PRED_FORMAT2(::gfx::AssertAxisTransform2dFloatEqual, a, b)
27 const AxisTransform2d& lhs,
28 const AxisTransform2d& rhs);
30#define EXPECT_BOXF_EQ(a, b) \
31 EXPECT_PRED_FORMAT2(::gfx::AssertBoxFloatEqual, a, b)
38#define EXPECT_POINTF_EQ(a, b) \
39 EXPECT_PRED_FORMAT2(::gfx::AssertPointFloatEqual, a, b)
46#define EXPECT_RECTF_EQ(a, b) \
47 EXPECT_PRED_FORMAT2(::gfx::AssertRectFloatEqual, a, b)
54#define EXPECT_SIZEF_EQ(a, b) \
55 EXPECT_PRED_FORMAT2(::gfx::AssertSizeFFloatEqual, a, b)
::testing::AssertionResult AssertRectFloatEqual(const char *lhs_expr, const char *rhs_expr, const RectF &lhs, const RectF &rhs)
::testing::AssertionResult AssertPointFloatEqual(const char *lhs_expr, const char *rhs_expr, const PointF &lhs, const PointF &rhs)
::testing::AssertionResult AssertAxisTransform2dFloatEqual(const char *lhs_expr, const char *rhs_expr, const AxisTransform2d &lhs, const AxisTransform2d &rhs)
::testing::AssertionResult AssertSizeFFloatEqual(const char *lhs_expr, const char *rhs_expr, const SizeF &lhs, const SizeF &rhs)
::testing::AssertionResult AssertBoxFloatEqual(const char *lhs_expr, const char *rhs_expr, const BoxF &lhs, const BoxF &rhs)