1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2020 - Stéphane MOTTELET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- TEST WITH GRAPHIC -->
9 // <-- NO CHECK REF -->
11 // <-- Non-regression test for bug 16407 -->
13 // <-- Bugzilla URL -->
14 // http://bugzilla.scilab.org/show_bug.cgi?id=16407
16 // <-- Short Description -->
17 // Fec rendering is incorrect
22 triangles=[1 1 2 3 1];
25 gcf().color_map = jetcolormap(n)
27 xs2png(0,fullfile(TMPDIR,"bug_16407_1.png"))
34 xs2png(0,fullfile(TMPDIR,"bug_16407_2.png"))
36 res1 = getmd5(fullfile(TMPDIR,"bug_16407_1.png"));
37 res2 = getmd5(fullfile(TMPDIR,"bug_16407_2.png"));
38 assert_checkequal(res1,res2)