Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e33f3472 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix misc-macro-parentheses warnings in hwui/tests."

am: e2732e5e

Change-Id: If801b6f30a280ed8382c37765e2623eb3520ebcc
parents 8c8bb250 e2732e5e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -48,10 +48,10 @@ typedef DisplayListCanvas TestCanvas;
    EXPECT_TRUE(TestUtils::matricesAreApproxEqual(a, b))

#define EXPECT_RECT_APPROX_EQ(a, b) \
    EXPECT_TRUE(MathUtils::areEqual(a.left, b.left) \
            && MathUtils::areEqual(a.top, b.top) \
            && MathUtils::areEqual(a.right, b.right) \
            && MathUtils::areEqual(a.bottom, b.bottom));
    EXPECT_TRUE(MathUtils::areEqual((a).left, (b).left) \
            && MathUtils::areEqual((a).top, (b).top) \
            && MathUtils::areEqual((a).right, (b).right) \
            && MathUtils::areEqual((a).bottom, (b).bottom));

#define EXPECT_CLIP_RECT(expRect, clipStatePtr) \
        EXPECT_NE(nullptr, (clipStatePtr)) << "Op is unclipped"; \