mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-05 06:48:18 +02:00
test/arc-infinite-loop: Random return value fun.
This commit is contained in:
parent
65040d3e3f
commit
07abd21a03
1 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ draw (cairo_t *cr, int width, int height)
|
|||
|
||||
/* Check if the code that handles huge angles hangs */
|
||||
cairo_arc (cr, 0, 0, 1, 0, 1024 / DBL_EPSILON * M_PI);
|
||||
|
||||
return CAIRO_TEST_SUCCESS;
|
||||
}
|
||||
|
||||
CAIRO_TEST (arc_infinite_loop,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue