summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSerge Steer <serge.steer@scilab.org>2007-01-03 07:53:33 +0000
committerSerge Steer <serge.steer@scilab.org>2007-01-03 07:53:33 +0000
commit6e7abcf0e08896134c7a84c4d570541cdce4645b (patch)
treefd043e217a139840d4990df96fa109ba9b142566 /tests
parentf57a9e976d4435428e7040e2b8c78d2fc0342d18 (diff)
downloadscilab-6e7abcf0e08896134c7a84c4d570541cdce4645b.zip
scilab-6e7abcf0e08896134c7a84c4d570541cdce4645b.tar.gz
bug2264.sci fixed
Diffstat (limited to 'tests')
-rw-r--r--tests/nonRegression/bug2264.sci18
-rw-r--r--tests/nonRegression/list_nonreg.txt1
2 files changed, 19 insertions, 0 deletions
diff --git a/tests/nonRegression/bug2264.sci b/tests/nonRegression/bug2264.sci
new file mode 100644
index 0000000..dacb366
--- /dev/null
+++ b/tests/nonRegression/bug2264.sci
@@ -0,0 +1,18 @@
1// Non-regression test file for bug 2264
2// Serge Steer - Scilab Project
3// Copyright INRIA
4// 2 janv 2007
5
6mode(-1);
7clear;
8
9[q,fact]=lcm(int32([-6 5 7 12 4]));
10T=q==int32(420);
11[q,fact]=lcm(int32([6 5 7 3 4])) ;
12T=T&(q==int32(420));
13[q,fact]=lcm(int32([-6 5 1 3 4]));
14T=T&(q==int32(60));
15[q,fact]=lcm(int32([-6 5 0 3 4]));
16T=T&(q==int32(0));
17
18affich_result(T,2264);
diff --git a/tests/nonRegression/list_nonreg.txt b/tests/nonRegression/list_nonreg.txt
index 64a760e..3d15724 100644
--- a/tests/nonRegression/list_nonreg.txt
+++ b/tests/nonRegression/list_nonreg.txt
@@ -155,4 +155,5 @@
1552149 1552149
1562162 1562162
1572181 1572181
1582264
1582266 1592266