Improve test coverage

Check that our two rounded rect intersection functions agree.
This commit is contained in:
Matthias Clasen
2023-05-01 13:58:00 -04:00
parent 7200a93a88
commit 33ab588d4e

View File

@@ -229,6 +229,8 @@ test_intersect_with_rect (void)
}
g_assert_true (gsk_rounded_rect_equal (&out, &test[i].expected));
}
g_assert_true ((res != GSK_INTERSECTION_EMPTY) == gsk_rounded_rect_intersects_rect (&test[i].rounded, &test[i].rect));
}
}