X-Git-Url: http://gitweb.scilab.org/?p=scilab.git;a=blobdiff_plain;f=scilab%2Fmodules%2Fgraphic_objects%2Ftests%2Fnonreg_tests%2Fbug_13725.tst;h=3f2e675bc409770ed47f0cc3b07812645b33d401;hp=f1e64f0dffcc02b12c71d101a3e2712693d433a4;hb=b13d1c10e05dd55ff38b66aa2eab546316c63635;hpb=056e033c3d45e42d20d029e8aea9c062335ab5e0 diff --git a/scilab/modules/graphic_objects/tests/nonreg_tests/bug_13725.tst b/scilab/modules/graphic_objects/tests/nonreg_tests/bug_13725.tst index f1e64f0..3f2e675 100644 --- a/scilab/modules/graphic_objects/tests/nonreg_tests/bug_13725.tst +++ b/scilab/modules/graphic_objects/tests/nonreg_tests/bug_13725.tst @@ -18,7 +18,22 @@ y = [0, -4, 2, -3, -1, -1, 7, 0] x = [0, 1, 3, 6, 16, 7, 3, 0] + scf(); xfpoly(x*1e18, y, 3) -// check that the polyline is correctly filled +x = -x - 1e15; +y = y - 1e15; +scf(); +xfpoly(x, y, 3) + +scf(); +xfpoly(x*1d6, y, 3) + +scf(); +xfpoly(x*1d7, y, 3) + +scf(); +xfpoly(x*1d8, y, 3) + +// check that all polylines are correctly filled