summaryrefslogtreecommitdiffstats
path: root/scilab/modules/graphics
diff options
context:
space:
mode:
authorPierre LANDO <pierre.lando@scilab.org>2010-03-31 18:07:44 +0200
committerPierre LANDO <pierre.lando@scilab.org>2010-03-31 18:07:44 +0200
commit22f907c94408e06a56246393a0f5053b65e34e46 (patch)
treef0c903e37ec724b4487d596c1c0c68f59b939ecd /scilab/modules/graphics
parentee8e1efdcbf2e2e7158b8601b46db699af01790c (diff)
downloadscilab-22f907c94408e06a56246393a0f5053b65e34e46.zip
scilab-22f907c94408e06a56246393a0f5053b65e34e46.tar.gz
Adding two new line style (bug 6840) TER
Diffstat (limited to 'scilab/modules/graphics')
-rw-r--r--scilab/modules/graphics/tests/unit_tests/line_style.dia.ref19
-rw-r--r--scilab/modules/graphics/tests/unit_tests/line_style.tst24
2 files changed, 43 insertions, 0 deletions
diff --git a/scilab/modules/graphics/tests/unit_tests/line_style.dia.ref b/scilab/modules/graphics/tests/unit_tests/line_style.dia.ref
new file mode 100644
index 0000000..1b43191
--- /dev/null
+++ b/scilab/modules/graphics/tests/unit_tests/line_style.dia.ref
@@ -0,0 +1,19 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - pierre.lando@scilab.org
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7// <-- TEST WITH GRAPHIC -->
8//
9//
10// <-- Short Description -->
11// Check line_style correctness
12// Try this :
13for i = [0:9] do
14 plot([i,i]);
15 e=gce();
16 e=e.children();
17 e.line_style = i;
18end
19// check that you have bottom to up : dash, dash dot, longdash dot, bigdash dot, bigdash longdash, dot, double dot.
diff --git a/scilab/modules/graphics/tests/unit_tests/line_style.tst b/scilab/modules/graphics/tests/unit_tests/line_style.tst
new file mode 100644
index 0000000..b69a03e
--- /dev/null
+++ b/scilab/modules/graphics/tests/unit_tests/line_style.tst
@@ -0,0 +1,24 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - pierre.lando@scilab.org
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7
8// <-- TEST WITH GRAPHIC -->
9//
10//
11
12// <-- Short Description -->
13// Check line_style correctness
14
15// Try this :
16
17for i = [0:9] do
18 plot([i,i]);
19 e=gce();
20 e=e.children();
21 e.line_style = i;
22end
23
24// check that you have bottom to up : dash, dash dot, longdash dot, bigdash dot, bigdash longdash, dot, double dot.