X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Ftest.c;h=01da58126647ab324dd86c44255fd9512fe5f262;hp=a7ba9d76318275841af60dc742f34f58d92acc1e;hb=678260583255100b0dce559e0f8f2f813e6f162e;hpb=8d594217e92517a626bb5b06f23a3034df1c4453 diff --git a/lib/gfxpoly/test.c b/lib/gfxpoly/test.c index a7ba9d7..01da581 100644 --- a/lib/gfxpoly/test.c +++ b/lib/gfxpoly/test.c @@ -173,7 +173,7 @@ int test0(int argn, char*argv[]) gfxline_t*box3 = gfxline_makerectangle(-100,-100,100,100); //gfxline_append(box2, box3); - gfxpoly_check(gfxpoly_from_stroke(box1, 2.0, gfx_capRound, gfx_joinRound, 0, 0.05), 1); + assert(gfxpoly_check(gfxpoly_from_stroke(box1, 2.0, gfx_capRound, gfx_joinRound, 0, 0.05), 1)); gfxmatrix_t matrix; memset(&matrix, 0, sizeof(gfxmatrix_t)); @@ -647,6 +647,6 @@ void test5(int argn, char*argv[]) int main(int argn, char*argv[]) { - test4(argn, argv); + test0(argn, argv); }