summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSerge Steer <serge.steer@scilab.org>2007-02-19 17:57:17 +0000
committerSerge Steer <serge.steer@scilab.org>2007-02-19 17:57:17 +0000
commita303b41fab54e251f969cead3a2a6c6aca7172b7 (patch)
tree39235f05a164ed1eca98b4becf5d619ced1003ab /tests
parent143f71a6bbde0cdf075f14bfa3f1c340452e7d1c (diff)
downloadscilab-a303b41fab54e251f969cead3a2a6c6aca7172b7.zip
scilab-a303b41fab54e251f969cead3a2a6c6aca7172b7.tar.gz
bug2263.sci validation updated
Diffstat (limited to 'tests')
-rw-r--r--tests/nonRegression/bug2263.sci20
1 files changed, 18 insertions, 2 deletions
diff --git a/tests/nonRegression/bug2263.sci b/tests/nonRegression/bug2263.sci
index 232e701..fb91e2a 100644
--- a/tests/nonRegression/bug2263.sci
+++ b/tests/nonRegression/bug2263.sci
@@ -9,8 +9,24 @@ function [a,b,c,d,e]=test()
9 a=1;b=2;c=3;d=4;e=5; 9 a=1;b=2;c=3;d=4;e=5;
10endfunction 10endfunction
11[out.a.t1,out.a.t2,out.a.t3,out.a.t4]=test(); 11[out.a.t1,out.a.t2,out.a.t3,out.a.t4]=test();
12T=%t;
13T=T&and(out==mlist(["st","dims","a"],int32([1,1]),..
14 mlist(["st","dims","t4","t3","t2","t1"],int32([1,1]),4,3,2,1))) ;
12 15
13T=and(out==mlist(["st","dims","a"],int32([1,1]),.. 16clear out
14mlist(["st","dims","t4","t3","t2","t1"],int32([1,1]),4,3,2,1))) 17[out.a.t1,t2,out.a.t3,t4]=test();
18T=T&and(out==mlist(["st","dims","a"],int32([1,1]),..
19 mlist(["st","dims","t3","t1"],int32([1,1]),3,1)))&t1==1&t4==4;
20
21clear a
22[a.t1,a.t2,a.t3,a.t4]=test();
23T=T& and(a==mlist(["st","dims","t4","t3","t2","t1"],int32([1,1]),4,3,2,1));
24
25clear a
26[t1,a.t2,t3,a.t4]=test();
27T=T& and(a==mlist(["st","dims","t4","t2"],int32([1,1]),4,2))&t1==1&t3==3;
28
29[t1,t2,t3,t4]=test();
30T=T&and([t1 t2 t3 t4]==[1 2 3 4]);
15 31
16affich_result(T,2263); 32affich_result(T,2263);