From f1fe73d1909a2448a004a88362a1a532d0d4f7c3 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Feb 2023 23:53:22 -0600 Subject: switch to tinyobj and nanovg from assimp and cairo --- libs/pixman-0.40.0/test/region-translate-test.c | 30 ------------------------- 1 file changed, 30 deletions(-) delete mode 100644 libs/pixman-0.40.0/test/region-translate-test.c (limited to 'libs/pixman-0.40.0/test/region-translate-test.c') diff --git a/libs/pixman-0.40.0/test/region-translate-test.c b/libs/pixman-0.40.0/test/region-translate-test.c deleted file mode 100644 index 5a03027..0000000 --- a/libs/pixman-0.40.0/test/region-translate-test.c +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include "utils.h" - -/* Pixman had a bug where 32bit regions where clipped to 16bit sizes when - * pixman_region32_translate() was called. This test exercises that bug. - */ - -#define LARGE 32000 - -int -main (int argc, char **argv) -{ - pixman_box32_t rect = { -LARGE, -LARGE, LARGE, LARGE }; - pixman_region32_t r1, r2; - - pixman_region32_init_rects (&r1, &rect, 1); - pixman_region32_init_rect (&r2, rect.x1, rect.y1, rect.x2 - rect.x1, rect.y2 - rect.y1); - - assert (pixman_region32_equal (&r1, &r2)); - - pixman_region32_translate (&r1, -LARGE, LARGE); - pixman_region32_translate (&r1, LARGE, -LARGE); - - assert (pixman_region32_equal (&r1, &r2)); - - pixman_region32_fini (&r1); - pixman_region32_fini (&r2); - - return 0; -} -- cgit v1.2.1