| Index: cc/test/geometry_test_utils.h
|
| diff --git a/cc/test/geometry_test_utils.h b/cc/test/geometry_test_utils.h
|
| index 3869ca2bc540fac59dd89200d2e1a260029a2d73..eee215ca14b6ef57e7f4d9f5750a36b67b02458d 100644
|
| --- a/cc/test/geometry_test_utils.h
|
| +++ b/cc/test/geometry_test_utils.h
|
| @@ -67,6 +67,12 @@ namespace cc {
|
| EXPECT_FLOAT_EQ((expected).height(), (actual).height()); \
|
| } while (false)
|
|
|
| +#define EXPECT_SIZE_EQ(expected, actual) \
|
| + do { \
|
| + EXPECT_EQ((expected).width(), (actual).width()); \
|
| + EXPECT_EQ((expected).height(), (actual).height()); \
|
| + } while (false)
|
| +
|
| // This is a function rather than a macro because when this is included as a
|
| // macro in bulk, it causes a significant slow-down in compilation time. This
|
| // problem exists with both gcc and clang, and bugs have been filed at
|
|
|