diff options
Diffstat (limited to 'test/degenerate-arc.c')
| -rw-r--r-- | test/degenerate-arc.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/test/degenerate-arc.c b/test/degenerate-arc.c index d030598b..ab657742 100644 --- a/test/degenerate-arc.c +++ b/test/degenerate-arc.c @@ -30,15 +30,6 @@ #include "cairo-test.h" -static cairo_test_draw_function_t draw; - -static const cairo_test_t test = { - "degenerate-arc", - "Tests the behaviour of degenerate arcs", - 40, 40, - draw -}; - static cairo_test_status_t draw (cairo_t *cr, int width, int height) { @@ -75,8 +66,9 @@ draw (cairo_t *cr, int width, int height) return CAIRO_TEST_SUCCESS; } -int -main (void) -{ - return cairo_test (&test); -} +CAIRO_TEST (degenerate_arc, + "Tests the behaviour of degenerate arcs", + "degenerate", /* keywords */ + NULL, /* requirements */ + 40, 40, + NULL, draw) |
