diff options
author | Allan Cornet <allan.cornet@scilab.org> | 2007-02-20 14:34:34 +0000 |
---|---|---|
committer | Allan Cornet <allan.cornet@scilab.org> | 2007-02-20 14:34:34 +0000 |
commit | 6f3366ac469f462a69db8ef492d265225954b67f (patch) | |
tree | a64fe8c5fc2809010a613340e27e4465fe5842b1 /tests | |
parent | 4cf65c7788af3874a6ae4a22aaae7d4c050fb5c1 (diff) | |
download | scilab-6f3366ac469f462a69db8ef492d265225954b67f.zip scilab-6f3366ac469f462a69db8ef492d265225954b67f.tar.gz |
updates ref.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic_tests/algebra.dia.ref | 28 | ||||
-rw-r--r-- | tests/basic_tests/algebra.tst | 7 | ||||
-rw-r--r-- | tests/basic_tests/externals.f | 113 | ||||
-rw-r--r-- | tests/basic_tests/links.dia.ref | 85 | ||||
-rw-r--r-- | tests/basic_tests/links.tst | 63 | ||||
-rw-r--r-- | tests/basic_tests/matsys.dia.ref | 2 | ||||
-rw-r--r-- | tests/basic_tests/matsys.tst | 2 | ||||
-rw-r--r-- | tests/basic_tests/result | 149 |
8 files changed, 163 insertions, 286 deletions
diff --git a/tests/basic_tests/algebra.dia.ref b/tests/basic_tests/algebra.dia.ref index c4c8237..3393941 100644 --- a/tests/basic_tests/algebra.dia.ref +++ b/tests/basic_tests/algebra.dia.ref | |||
@@ -1094,6 +1094,8 @@ if Err(rcond(eye(50,50)*(1+%i))-1)>10*%eps then bugmes();quit;end | |||
1094 | 1094 | ||
1095 | //========================================================================== | 1095 | //========================================================================== |
1096 | 1096 | ||
1097 | clear sel | ||
1098 | |||
1097 | function t=sel(R),t=real(R)<0 ,endfunction | 1099 | function t=sel(R),t=real(R)<0 ,endfunction |
1098 | 1100 | ||
1099 | //Empty matrix | 1101 | //Empty matrix |
@@ -1537,9 +1539,9 @@ if Err(Es-Q'*E*Z) >200*%eps then bugmes();quit;end | |||
1537 | 1539 | ||
1538 | //ordered sel | 1540 | //ordered sel |
1539 | 1541 | ||
1540 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | 1542 | clear sel |
1541 | Warning :redefining function: sel | ||
1542 | 1543 | ||
1544 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | ||
1543 | 1545 | ||
1544 | 1546 | ||
1545 | dim=schur(A,E,sel); | 1547 | dim=schur(A,E,sel); |
@@ -1661,9 +1663,9 @@ if Err(Es-Q'*E*Z) >200*%eps then bugmes();quit;end | |||
1661 | 1663 | ||
1662 | //ordered sel | 1664 | //ordered sel |
1663 | 1665 | ||
1664 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | 1666 | clear sel |
1665 | Warning :redefining function: sel | ||
1666 | 1667 | ||
1668 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | ||
1667 | 1669 | ||
1668 | 1670 | ||
1669 | dim=schur(A,E,sel); | 1671 | dim=schur(A,E,sel); |
@@ -1789,12 +1791,12 @@ if Err(Es-Q'*E*Z) >200*%eps then bugmes();quit;end | |||
1789 | 1791 | ||
1790 | //ordered sel | 1792 | //ordered sel |
1791 | 1793 | ||
1792 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | 1794 | clear sel |
1793 | Warning :redefining function: sel | ||
1794 | 1795 | ||
1796 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | ||
1795 | 1797 | ||
1796 | 1798 | ||
1797 | dim=schur(A,E,sel); | 1799 | dim=schur(A,E,sel); // plante ici DGGES LAPACK 3.1 |
1798 | 1800 | ||
1799 | if dim<>12 then bugmes();quit;end | 1801 | if dim<>12 then bugmes();quit;end |
1800 | 1802 | ||
@@ -1913,9 +1915,9 @@ if Err(Es-Q'*E*Z) >1000*%eps then bugmes();quit;end | |||
1913 | 1915 | ||
1914 | //ordered sel | 1916 | //ordered sel |
1915 | 1917 | ||
1916 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | 1918 | clear sel |
1917 | Warning :redefining function: sel | ||
1918 | 1919 | ||
1920 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | ||
1919 | 1921 | ||
1920 | 1922 | ||
1921 | dim=schur(A,E,sel); | 1923 | dim=schur(A,E,sel); |
@@ -3334,7 +3336,7 @@ if Err(diag(diag(X))-X)>200*%eps then bugmes();quit;end | |||
3334 | 3336 | ||
3335 | if Err(Ab-inv(X)*A*X)>200*%eps then bugmes();quit;end | 3337 | if Err(Ab-inv(X)*A*X)>200*%eps then bugmes();quit;end |
3336 | warning | 3338 | warning |
3337 | matrix is close to singular or badly scaled. rcond = 2.2737D-13 | 3339 | matrix is close to singular or badly scaled. rcond = 8.8818D-16 |
3338 | 3340 | ||
3339 | 3341 | ||
3340 | 3342 | ||
@@ -3348,7 +3350,7 @@ if Err(diag(diag(X))-X)>200*%eps then bugmes();quit;end | |||
3348 | 3350 | ||
3349 | if Err(Ab-inv(X)*A*X)>200*%eps then bugmes();quit;end | 3351 | if Err(Ab-inv(X)*A*X)>200*%eps then bugmes();quit;end |
3350 | warning | 3352 | warning |
3351 | matrix is close to singular or badly scaled. rcond = 2.2737D-13 | 3353 | matrix is close to singular or badly scaled. rcond = 8.8818D-16 |
3352 | 3354 | ||
3353 | 3355 | ||
3354 | 3356 | ||
@@ -3362,7 +3364,7 @@ if Err(diag(diag(X))-X)>200*%eps then bugmes();quit;end | |||
3362 | 3364 | ||
3363 | if Err(Ab-inv(X)*A*X)>1000*%eps then bugmes();quit;end | 3365 | if Err(Ab-inv(X)*A*X)>1000*%eps then bugmes();quit;end |
3364 | warning | 3366 | warning |
3365 | matrix is close to singular or badly scaled. rcond = 8.6736D-19 | 3367 | matrix is close to singular or badly scaled. rcond = 1.6313D-55 |
3366 | 3368 | ||
3367 | 3369 | ||
3368 | 3370 | ||
@@ -3376,7 +3378,7 @@ if Err(diag(diag(X))-X)>200*%eps then bugmes();quit;end | |||
3376 | 3378 | ||
3377 | if Err(Ab-inv(X)*A*X)>1000*%eps then bugmes();quit;end | 3379 | if Err(Ab-inv(X)*A*X)>1000*%eps then bugmes();quit;end |
3378 | warning | 3380 | warning |
3379 | matrix is close to singular or badly scaled. rcond = 8.6736D-19 | 3381 | matrix is close to singular or badly scaled. rcond = 1.6313D-55 |
3380 | 3382 | ||
3381 | 3383 | ||
3382 | 3384 | ||
diff --git a/tests/basic_tests/algebra.tst b/tests/basic_tests/algebra.tst index 8cd3d00..93603ed 100644 --- a/tests/basic_tests/algebra.tst +++ b/tests/basic_tests/algebra.tst | |||
@@ -605,6 +605,7 @@ if Err(rcond(eye(50,50)*(1+%i))-1)>10*%eps then pause,end | |||
605 | //========================================================================== | 605 | //========================================================================== |
606 | //============================== schur ============================== | 606 | //============================== schur ============================== |
607 | //========================================================================== | 607 | //========================================================================== |
608 | clear sel | ||
608 | function t=sel(R),t=real(R)<0 ,endfunction | 609 | function t=sel(R),t=real(R)<0 ,endfunction |
609 | //Empty matrix | 610 | //Empty matrix |
610 | A=[]; | 611 | A=[]; |
@@ -851,6 +852,7 @@ if Err(As-Q'*A*Z) >200*%eps then pause,end | |||
851 | if Err(Es-Q'*E*Z) >200*%eps then pause,end | 852 | if Err(Es-Q'*E*Z) >200*%eps then pause,end |
852 | 853 | ||
853 | //ordered sel | 854 | //ordered sel |
855 | clear sel | ||
854 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | 856 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction |
855 | 857 | ||
856 | dim=schur(A,E,sel); | 858 | dim=schur(A,E,sel); |
@@ -917,6 +919,7 @@ if Err(As-Q'*A*Z) >200*%eps then pause,end | |||
917 | if Err(Es-Q'*E*Z) >200*%eps then pause,end | 919 | if Err(Es-Q'*E*Z) >200*%eps then pause,end |
918 | 920 | ||
919 | //ordered sel | 921 | //ordered sel |
922 | clear sel | ||
920 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | 923 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction |
921 | 924 | ||
922 | dim=schur(A,E,sel); | 925 | dim=schur(A,E,sel); |
@@ -986,9 +989,10 @@ if Err(As-Q'*A*Z) >200*%eps then pause,end | |||
986 | if Err(Es-Q'*E*Z) >200*%eps then pause,end | 989 | if Err(Es-Q'*E*Z) >200*%eps then pause,end |
987 | 990 | ||
988 | //ordered sel | 991 | //ordered sel |
992 | clear sel | ||
989 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction | 993 | function t=sel(Alpha,Beta),t=real(Alpha)>-0.2*real(Beta) ,endfunction |
990 | 994 | ||
991 | dim=schur(A,E,sel); | 995 | dim=schur(A,E,sel); // plante ici DGGES LAPACK 3.1 |
992 | if dim<>12 then pause,end | 996 | if dim<>12 then pause,end |
993 | [Z,dim]=schur(A,E,sel); | 997 | [Z,dim]=schur(A,E,sel); |
994 | if Err(Z*Z'-eye(Z)) >200*%eps then pause,end | 998 | if Err(Z*Z'-eye(Z)) >200*%eps then pause,end |
@@ -1052,6 +1056,7 @@ if Err(As-Q'*A*Z) >1000*%eps then pause,end | |||
1052 | if Err(Es-Q'*E*Z) >1000*%eps then pause,end | 1056 | if Err(Es-Q'*E*Z) >1000*%eps then pause,end |
1053 | 1057 | ||
1054 | //ordered sel | 1058 | //ordered sel |
1059 | clear sel | ||
1055 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction | 1060 | function t=sel(Alpha,Beta),t=imag(Alpha)>0 ,endfunction |
1056 | 1061 | ||
1057 | dim=schur(A,E,sel); | 1062 | dim=schur(A,E,sel); |
diff --git a/tests/basic_tests/externals.f b/tests/basic_tests/externals.f index 966b99e..da73efc 100644 --- a/tests/basic_tests/externals.f +++ b/tests/basic_tests/externals.f | |||
@@ -1,4 +1,6 @@ | |||
1 | c ------------------------------------------- | ||
1 | subroutine ext1f(n,a,b,c) | 2 | subroutine ext1f(n,a,b,c) |
3 | c ------------------------------------------- | ||
2 | c (very) simple example 1 | 4 | c (very) simple example 1 |
3 | c -->link('ext1f.o','ext1f'); | 5 | c -->link('ext1f.o','ext1f'); |
4 | c -->a=[1,2,3];b=[4,5,6];n=3; | 6 | c -->a=[1,2,3];b=[4,5,6];n=3; |
@@ -10,7 +12,10 @@ c c=a+b | |||
10 | 1 continue | 12 | 1 continue |
11 | return | 13 | return |
12 | end | 14 | end |
15 | c | ||
16 | c ------------------------------------------- | ||
13 | subroutine ext2f(n,a,b,c) | 17 | subroutine ext2f(n,a,b,c) |
18 | c ------------------------------------------- | ||
14 | c simple example 2 (using sin and cos) | 19 | c simple example 2 (using sin and cos) |
15 | c -->link('ext2f.o','ext2f'); | 20 | c -->link('ext2f.o','ext2f'); |
16 | c -->a=[1,2,3];b=[4,5,6];n=3; | 21 | c -->a=[1,2,3];b=[4,5,6];n=3; |
@@ -22,8 +27,10 @@ c -->c=sin(a)+cos(b) | |||
22 | 1 continue | 27 | 1 continue |
23 | return | 28 | return |
24 | end | 29 | end |
30 | c | ||
31 | c ------------------------------------------- | ||
25 | subroutine ext3f(ch,n,a,b,c) | 32 | subroutine ext3f(ch,n,a,b,c) |
26 | c ---------------------------- | 33 | c ------------------------------------------- |
27 | c example 3 (passing a chain) | 34 | c example 3 (passing a chain) |
28 | c -->link('ext3f.o','ext3f'); | 35 | c -->link('ext3f.o','ext3f'); |
29 | c -->a=[1,2,3];b=[4,5,6];n=3; | 36 | c -->a=[1,2,3];b=[4,5,6];n=3; |
@@ -43,7 +50,10 @@ c ------------------------------------- | |||
43 | endif | 50 | endif |
44 | return | 51 | return |
45 | end | 52 | end |
53 | c | ||
54 | c ------------------------------------------- | ||
46 | subroutine ext4f(n,a,b,c) | 55 | subroutine ext4f(n,a,b,c) |
56 | c ------------------------------------------- | ||
47 | c example 4 (reading a chain) | 57 | c example 4 (reading a chain) |
48 | c -->link('ext4f.o','ext4f'); | 58 | c -->link('ext4f.o','ext4f'); |
49 | c -->a=[1,2,3];b=[4,5,6];n=3;yes='yes' | 59 | c -->a=[1,2,3];b=[4,5,6];n=3;yes='yes' |
@@ -72,8 +82,10 @@ c ********************************* | |||
72 | endif | 82 | endif |
73 | return | 83 | return |
74 | end | 84 | end |
75 | 85 | c | |
86 | c ------------------------------------------- | ||
76 | subroutine ext5f(b,c) | 87 | subroutine ext5f(b,c) |
88 | c ------------------------------------------- | ||
77 | c example 5 | 89 | c example 5 |
78 | c reading a vector in scilab internal stack using creadmat | 90 | c reading a vector in scilab internal stack using creadmat |
79 | c (see SCIDIR/system2/creadmat.f) | 91 | c (see SCIDIR/system2/creadmat.f) |
@@ -94,7 +106,10 @@ c If 'a' exists reads it else return | |||
94 | 1 continue | 106 | 1 continue |
95 | return | 107 | return |
96 | end | 108 | end |
109 | c | ||
110 | c ------------------------------------------- | ||
97 | subroutine ext6f(aname,b,c) | 111 | subroutine ext6f(aname,b,c) |
112 | c ------------------------------------------- | ||
98 | c example 6 | 113 | c example 6 |
99 | c reading a vector in scilab internal stack using readmat interface | 114 | c reading a vector in scilab internal stack using readmat interface |
100 | c -->link('ext6f.o','ext6f') | 115 | c -->link('ext6f.o','ext6f') |
@@ -114,7 +129,10 @@ c [m,n]=size(a) here m=1 n=3 | |||
114 | 1 continue | 129 | 1 continue |
115 | return | 130 | return |
116 | end | 131 | end |
132 | c | ||
133 | c ------------------------------------------- | ||
117 | subroutine ext7f(a,b) | 134 | subroutine ext7f(a,b) |
135 | c ------------------------------------------- | ||
118 | c example 7 | 136 | c example 7 |
119 | c creating vector c in scilab internal stack | 137 | c creating vector c in scilab internal stack |
120 | c -->link('ext7f.o','ext7f') | 138 | c -->link('ext7f.o','ext7f') |
@@ -135,26 +153,10 @@ c sending string 'test' (size 4) to Scilab variable d | |||
135 | if (.not.cwritechain('d'//char(0),4,'test')) return | 153 | if (.not.cwritechain('d'//char(0),4,'test')) return |
136 | return | 154 | return |
137 | end | 155 | end |
138 | subroutine ext8f(y) | 156 | c |
139 | c ------------------------------------------- | 157 | c ------------------------------------------- |
140 | c same example with call to cmatptr | 158 | subroutine ext8f(n, t, y, ydot) |
141 | c -->param=[1,2,3]; | 159 | c ------------------------------------------- |
142 | c -->link('ext8c.o','ext8c','C'); | ||
143 | c -->y=call('ext8c','out',size(param),1,'d'); | ||
144 | logical cmatptr | ||
145 | double precision y(*) | ||
146 | include 'stack.h' | ||
147 | c If variable 'param' exists gets its pointer in | ||
148 | c internal stack else return | ||
149 | if(.not.cmatptr('param'//char(0),m,n,lp)) return | ||
150 | c ******************************** | ||
151 | c param entries are in stk(lp+i),i=0,m*n | ||
152 | do 10 i=1,m*n | ||
153 | y(i) = stk(lp+i-1) | ||
154 | 10 continue | ||
155 | return | ||
156 | end | ||
157 | subroutine ext9f(n, t, y, ydot) | ||
158 | c argument function for ode | 160 | c argument function for ode |
159 | c input variables n, t, y | 161 | c input variables n, t, y |
160 | c n = dimension of state vector y | 162 | c n = dimension of state vector y |
@@ -169,12 +171,12 @@ c ... | |||
169 | c i.e. ydot vector of derivative of state y | 171 | c i.e. ydot vector of derivative of state y |
170 | c | 172 | c |
171 | c Example: | 173 | c Example: |
172 | c call this ext9f routine: | 174 | c call this ext8f routine: |
173 | c ode([1;0;0],0,[0.4,4],'ext9f') | 175 | c ode([1;0;0],0,[0.4,4],'ext9f') |
174 | c | 176 | c |
175 | c With dynamic link: | 177 | c With dynamic link: |
176 | c -->link('ext9f.o','ext9f') | 178 | c -->link('ext8f.o','ext8f') |
177 | c -->ode([1;0;0],0,[0.4,4],'ext9f') | 179 | c -->ode([1;0;0],0,[0.4,4],'ext8f') |
178 | c | 180 | c |
179 | double precision t, y, ydot | 181 | double precision t, y, ydot |
180 | dimension y(3), ydot(3) | 182 | dimension y(3), ydot(3) |
@@ -182,8 +184,10 @@ c | |||
182 | ydot(3) = 3.0d+7*y(2)*y(2) | 184 | ydot(3) = 3.0d+7*y(2)*y(2) |
183 | ydot(2) = -ydot(1) - ydot(3) | 185 | ydot(2) = -ydot(1) - ydot(3) |
184 | end | 186 | end |
185 | 187 | c | |
186 | subroutine ext10f(n, t, y, ydot) | 188 | c ------------------------------------------- |
189 | subroutine ext9f(n, t, y, ydot) | ||
190 | c ------------------------------------------- | ||
187 | c external fonction for ode | 191 | c external fonction for ode |
188 | c input variables n, t, y | 192 | c input variables n, t, y |
189 | c n = dimension of state vector y | 193 | c n = dimension of state vector y |
@@ -198,9 +202,9 @@ c ... | |||
198 | c i.e. ydot vector of derivative of state y | 202 | c i.e. ydot vector of derivative of state y |
199 | c | 203 | c |
200 | c With dynamic link: | 204 | c With dynamic link: |
201 | c link('ext10f.o','ext10f') | 205 | c link('ext9f.o','ext9f') |
202 | c | 206 | c |
203 | c passing a parameter to ext10f routine by a list: | 207 | c passing a parameter to ext9f routine by a list: |
204 | c -->param=[0.04,10000,3d+7]; | 208 | c -->param=[0.04,10000,3d+7]; |
205 | c -->y=ode([1;0;0],0,[0.4,4],list('ext10f',param)) | 209 | c -->y=ode([1;0;0],0,[0.4,4],list('ext10f',param)) |
206 | c param is retrieved in ext10f by: | 210 | c param is retrieved in ext10f by: |
@@ -217,12 +221,14 @@ c | |||
217 | ydot(3) = param(3)*y(2)*y(2) | 221 | ydot(3) = param(3)*y(2)*y(2) |
218 | ydot(2) = -ydot(1) - ydot(3) | 222 | ydot(2) = -ydot(1) - ydot(3) |
219 | end | 223 | end |
220 | subroutine ext11f(neq, t, y, ydot) | 224 | c |
225 | c ------------------------------------------- | ||
226 | subroutine ext10f(neq, t, y, ydot) | ||
221 | c ------------------------------------------- | 227 | c ------------------------------------------- |
222 | c exemple with a call to readmat routine | 228 | c exemple with a call to readmat routine |
223 | c -->param=[0.04,10000,3d+7]; | 229 | c -->param=[0.04,10000,3d+7]; |
224 | c -->link('ext11f.o','ext11f') | 230 | c -->link('ext10f.o','ext10f') |
225 | c -->y=ode([1;0;0],0,[0.4,4],'ext11f') | 231 | c -->y=ode([1;0;0],0,[0.4,4],'ext10f') |
226 | c param must be defined as a scilab variable | 232 | c param must be defined as a scilab variable |
227 | double precision t, y, ydot, param | 233 | double precision t, y, ydot, param |
228 | logical creadmat | 234 | logical creadmat |
@@ -237,46 +243,23 @@ c *********************************** | |||
237 | ydot(2) = -ydot(1) - ydot(3) | 243 | ydot(2) = -ydot(1) - ydot(3) |
238 | return | 244 | return |
239 | end | 245 | end |
240 | subroutine ext12f(neq, t, y, ydot) | 246 | c |
241 | c ------------------------------------------- | 247 | c ------------------------------------------- |
242 | c same example with call to cmatptr | 248 | subroutine ext11f(n,a) |
243 | c param must be defined as a scilab variable | 249 | c ------------------------------------------- |
244 | c exemple with a call to cmatptr function | ||
245 | c -->param=[0.04,10000,3d+7]; | ||
246 | c -->link('ext12f.o','ext12f') | ||
247 | c -->y=ode([1;0;0],0,[0.4,4],'ext12f') | ||
248 | double precision t, y, ydot | ||
249 | logical cmatptr | ||
250 | dimension y(3), ydot(3) | ||
251 | c | ||
252 | include 'stack.h' | ||
253 | c | ||
254 | |||
255 | c If variable 'param' exists gets its pointer in | ||
256 | c internal stack else return | ||
257 | if(.not.cmatptr('param'//char(0),m,n,lp)) return | ||
258 | c ******************************** | ||
259 | c param entries are in stk(lp),stk(lp+1),stk(lp+2) | ||
260 | c i.e. param(1)= stk(lp), ... | ||
261 | c m,n = dimensions of param = 3,1 (or 1,3 if row v.) | ||
262 | |||
263 | c (note that vector param not used in this example) | ||
264 | ydot(1) = -stk(lp)*y(1) + stk(lp+1)*y(2)*y(3) | ||
265 | ydot(3) = stk(lp+2)*y(2)*y(2) | ||
266 | ydot(2) = -ydot(1) - ydot(3) | ||
267 | return | ||
268 | end | ||
269 | |||
270 | subroutine ext13f(n,a) | ||
271 | common/cmntest/b(10) | 250 | common/cmntest/b(10) |
272 | real a(*) | 251 | real a(*) |
273 | do 1 k=1,max(n,10) | 252 | do 1 k=1,max(n,10) |
274 | 1 b(k)=a(k) | 253 | 1 b(k)=a(k) |
275 | end | 254 | end |
276 | subroutine ext14f(n,c) | 255 | c |
256 | c ------------------------------------------- | ||
257 | subroutine ext12f(n,c) | ||
258 | c ------------------------------------------- | ||
277 | common/cmntest/b(10) | 259 | common/cmntest/b(10) |
278 | real c(*) | 260 | real c(*) |
279 | do 1 k=1,max(n,10) | 261 | do 1 k=1,max(n,10) |
280 | 1 c(k)=b(k) | 262 | 1 c(k)=b(k) |
281 | end | 263 | end |
282 | 264 | c ------------------------------------------- | |
265 | c | ||
diff --git a/tests/basic_tests/links.dia.ref b/tests/basic_tests/links.dia.ref index cf02528..00001e6 100644 --- a/tests/basic_tests/links.dia.ref +++ b/tests/basic_tests/links.dia.ref | |||
@@ -1,16 +1,19 @@ | |||
1 | 1 | ||
2 | //=========================================================== | ||
3 | |||
2 | // Copyright INRIA | 4 | // Copyright INRIA |
3 | 5 | ||
6 | //=========================================================== | ||
4 | 7 | ||
5 | pref='ext'; | 8 | pref='ext'; |
6 | 9 | ||
7 | suf='f'; | 10 | suf='f'; |
8 | 11 | ||
9 | routines=[pref(ones(1,14))+string(1:14)+suf(ones(1,14))]; | 12 | routines=[pref(ones(1,12))+string(1:12)+suf(ones(1,12))]; |
10 | 13 | ||
11 | ilib_for_link(routines,'externals.o',[],"f"); | 14 | ilib_for_link(routines,'externals.o',[],"f"); |
12 | generate a loader file | 15 | generate a loader file |
13 | generate a Makefile: Makelib | 16 | generate a Makefile |
14 | running the makefile | 17 | running the makefile |
15 | compilation of externals | 18 | compilation of externals |
16 | building shared library (be patient) | 19 | building shared library (be patient) |
@@ -19,8 +22,12 @@ exec loader.sce ; | |||
19 | shared archive loaded | 22 | shared archive loaded |
20 | Link done | 23 | Link done |
21 | 24 | ||
25 | //=========================================================== | ||
26 | |||
22 | //(very) simple example 1 | 27 | //(very) simple example 1 |
23 | 28 | ||
29 | //=========================================================== | ||
30 | |||
24 | a=[1,2,3];b=[4,5,6];n=3; | 31 | a=[1,2,3];b=[4,5,6];n=3; |
25 | 32 | ||
26 | c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 33 | c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
@@ -28,8 +35,12 @@ c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | |||
28 | if norm(c-(a+b)) > %eps then bugmes();quit;end | 35 | if norm(c-(a+b)) > %eps then bugmes();quit;end |
29 | 36 | ||
30 | 37 | ||
38 | //=========================================================== | ||
39 | |||
31 | //Simple example #2 | 40 | //Simple example #2 |
32 | 41 | ||
42 | //=========================================================== | ||
43 | |||
33 | a=[1,2,3];b=[4,5,6];n=3; | 44 | a=[1,2,3];b=[4,5,6];n=3; |
34 | 45 | ||
35 | c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 46 | c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
@@ -37,8 +48,12 @@ c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | |||
37 | if norm(c-(sin(a)+cos(b))) > %eps then bugmes();quit;end | 48 | if norm(c-(sin(a)+cos(b))) > %eps then bugmes();quit;end |
38 | 49 | ||
39 | 50 | ||
51 | //=========================================================== | ||
52 | |||
40 | //Example #3 | 53 | //Example #3 |
41 | 54 | ||
55 | //=========================================================== | ||
56 | |||
42 | a=[1,2,3];b=[4,5,6];n=3; | 57 | a=[1,2,3];b=[4,5,6];n=3; |
43 | 58 | ||
44 | c=call('ext3f','yes',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); | 59 | c=call('ext3f','yes',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); |
@@ -50,8 +65,12 @@ c=call('ext3f','no',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); | |||
50 | if norm(c-(a+b)) > %eps then bugmes();quit;end | 65 | if norm(c-(a+b)) > %eps then bugmes();quit;end |
51 | 66 | ||
52 | 67 | ||
68 | //=========================================================== | ||
69 | |||
53 | //Example #4 | 70 | //Example #4 |
54 | 71 | ||
72 | //=========================================================== | ||
73 | |||
55 | a=[1,2,3];b=[4,5,6];n=3;yes='yes'; | 74 | a=[1,2,3];b=[4,5,6];n=3;yes='yes'; |
56 | 75 | ||
57 | c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 76 | c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
@@ -67,8 +86,12 @@ if norm(c-(a+b)) > %eps then bugmes();quit;end | |||
67 | //clear yes --> undefined variable : yes | 86 | //clear yes --> undefined variable : yes |
68 | 87 | ||
69 | 88 | ||
89 | //=========================================================== | ||
90 | |||
70 | //Example #5 | 91 | //Example #5 |
71 | 92 | ||
93 | //=========================================================== | ||
94 | |||
72 | // reading vector a in scilab internal stack | 95 | // reading vector a in scilab internal stack |
73 | 96 | ||
74 | a=[1,2,3];b=[2,3,4]; | 97 | a=[1,2,3];b=[2,3,4]; |
@@ -78,8 +101,12 @@ c=call('ext5f',b,1,'d','out',[1,3],2,'d'); | |||
78 | if norm(c-(a+2*b)) > %eps then bugmes();quit;end | 101 | if norm(c-(a+2*b)) > %eps then bugmes();quit;end |
79 | 102 | ||
80 | 103 | ||
104 | //=========================================================== | ||
105 | |||
81 | //Example #6 | 106 | //Example #6 |
82 | 107 | ||
108 | //=========================================================== | ||
109 | |||
83 | //reading vector with name='a' in scilab internal stack | 110 | //reading vector with name='a' in scilab internal stack |
84 | 111 | ||
85 | a=[1,2,3];b=[2,3,4]; | 112 | a=[1,2,3];b=[2,3,4]; |
@@ -89,9 +116,12 @@ c=call('ext6f','a',1,'c',b,2,'d','out',[1,3],3,'d'); | |||
89 | if norm(c-(a+2*b)) > %eps then bugmes();quit;end | 116 | if norm(c-(a+2*b)) > %eps then bugmes();quit;end |
90 | 117 | ||
91 | 118 | ||
119 | //=========================================================== | ||
92 | 120 | ||
93 | //Example #7 | 121 | //Example #7 |
94 | 122 | ||
123 | //=========================================================== | ||
124 | |||
95 | //creating vector c in scilab internal stack | 125 | //creating vector c in scilab internal stack |
96 | 126 | ||
97 | clear c; | 127 | clear c; |
@@ -113,62 +143,54 @@ if norm(c-(a+2*b)) > %eps then bugmes();quit;end | |||
113 | if d<>"test" then bugmes();quit;end | 143 | if d<>"test" then bugmes();quit;end |
114 | 144 | ||
115 | 145 | ||
146 | //=========================================================== | ||
147 | |||
116 | //Example #8 | 148 | //Example #8 |
117 | 149 | ||
118 | //param must be defined as a scilab variable | 150 | //=========================================================== |
119 | 151 | ||
120 | param=[1,2,3]; | 152 | //call ext8f argument function with dynamic link |
121 | 153 | ||
122 | y=call('ext8f','out',size(param),1,'d'); | 154 | yref=ode([1;0;0],0,[0.4,4],'ext8f'); |
123 | 155 | ||
124 | if norm(y-param) > %eps then bugmes();quit;end | ||
125 | 156 | ||
157 | //=========================================================== | ||
126 | 158 | ||
127 | //Example #9 | 159 | //Example #9 |
128 | 160 | ||
129 | //call ext9f argument function with dynamic link | 161 | //=========================================================== |
130 | 162 | ||
131 | yref=ode([1;0;0],0,[0.4,4],'ext9f'); | 163 | //passing a parameter to ext9f routine by a list: |
132 | |||
133 | |||
134 | //Example #10 | ||
135 | |||
136 | //passing a parameter to ext10f routine by a list: | ||
137 | 164 | ||
138 | param=[0.04,10000,3d+7]; | 165 | param=[0.04,10000,3d+7]; |
139 | 166 | ||
140 | y=ode([1;0;0],0,[0.4,4],list('ext10f',param)); | 167 | y=ode([1;0;0],0,[0.4,4],list('ext9f',param)); |
141 | 168 | ||
142 | if norm(y-yref) > 10000*%eps then bugmes();quit;end | 169 | if norm(y-yref) > 10000*%eps then bugmes();quit;end |
143 | 170 | ||
144 | 171 | ||
145 | //Example #11 | 172 | //=========================================================== |
173 | |||
174 | //Example #10 | ||
175 | |||
176 | //=========================================================== | ||
146 | 177 | ||
147 | //Passing a parameter to argument funtion of ode | 178 | //Passing a parameter to argument funtion of ode |
148 | 179 | ||
149 | param=[0.04,10000,3d+7]; | 180 | param=[0.04,10000,3d+7]; |
150 | 181 | ||
151 | y=ode([1;0;0],0,[0.4,4],'ext11f'); | 182 | y=ode([1;0;0],0,[0.4,4],'ext10f'); |
152 | 183 | ||
153 | //param must be defined as a scilab variable upon calling ode | 184 | //param must be defined as a scilab variable upon calling ode |
154 | 185 | ||
155 | if norm(y-yref) > 10000*%eps then bugmes();quit;end | 186 | if norm(y-yref) > 10000*%eps then bugmes();quit;end |
156 | 187 | ||
157 | 188 | ||
158 | //Example #12 | 189 | //=========================================================== |
159 | |||
160 | //same example as # 10 with call to matptr | ||
161 | |||
162 | //param must be defined as a scilab variable | ||
163 | |||
164 | param=[0.04,10000,3d+7]; | ||
165 | |||
166 | y=ode([1;0;0],0,[0.4,4],'ext12f'); | ||
167 | |||
168 | if norm(y-yref) > 10000*%eps then bugmes();quit;end | ||
169 | 190 | ||
191 | //Example #11 | ||
170 | 192 | ||
171 | //Example #13 | 193 | //=========================================================== |
172 | 194 | ||
173 | //sharing common data | 195 | //sharing common data |
174 | 196 | ||
@@ -176,9 +198,12 @@ a=1:10; | |||
176 | 198 | ||
177 | n=10;a=1:10; | 199 | n=10;a=1:10; |
178 | 200 | ||
179 | call('ext13f',n,1,'i',a,2,'r','out',2); //loads b with a | 201 | call('ext11f',n,1,'i',a,2,'r','out',2); //loads b with a |
180 | 202 | ||
181 | c=call('ext14f',n,1,'i','out',[1,10],2,'r'); //loads c with b | 203 | c=call('ext12f',n,1,'i','out',[1,10],2,'r'); //loads c with b |
182 | 204 | ||
183 | if norm(c-a) > %eps then bugmes();quit;end | 205 | if norm(c-a) > %eps then bugmes();quit;end |
184 | 206 | ||
207 | |||
208 | //=========================================================== | ||
209 | |||
diff --git a/tests/basic_tests/links.tst b/tests/basic_tests/links.tst index 24001e1..3148fb3 100644 --- a/tests/basic_tests/links.tst +++ b/tests/basic_tests/links.tst | |||
@@ -1,28 +1,37 @@ | |||
1 | //=========================================================== | ||
1 | // Copyright INRIA | 2 | // Copyright INRIA |
2 | 3 | //=========================================================== | |
3 | pref='ext'; | 4 | pref='ext'; |
4 | suf='f'; | 5 | suf='f'; |
5 | routines=[pref(ones(1,14))+string(1:14)+suf(ones(1,14))]; | 6 | routines=[pref(ones(1,12))+string(1:12)+suf(ones(1,12))]; |
6 | ilib_for_link(routines,'externals.o',[],"f"); | 7 | ilib_for_link(routines,'externals.o',[],"f"); |
7 | exec loader.sce ; | 8 | exec loader.sce ; |
9 | //=========================================================== | ||
8 | //(very) simple example 1 | 10 | //(very) simple example 1 |
11 | //=========================================================== | ||
9 | a=[1,2,3];b=[4,5,6];n=3; | 12 | a=[1,2,3];b=[4,5,6];n=3; |
10 | c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 13 | c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
11 | if norm(c-(a+b)) > %eps then pause,end | 14 | if norm(c-(a+b)) > %eps then pause,end |
12 | 15 | ||
16 | //=========================================================== | ||
13 | //Simple example #2 | 17 | //Simple example #2 |
18 | //=========================================================== | ||
14 | a=[1,2,3];b=[4,5,6];n=3; | 19 | a=[1,2,3];b=[4,5,6];n=3; |
15 | c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 20 | c=call('ext2f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
16 | if norm(c-(sin(a)+cos(b))) > %eps then pause,end | 21 | if norm(c-(sin(a)+cos(b))) > %eps then pause,end |
17 | 22 | ||
23 | //=========================================================== | ||
18 | //Example #3 | 24 | //Example #3 |
25 | //=========================================================== | ||
19 | a=[1,2,3];b=[4,5,6];n=3; | 26 | a=[1,2,3];b=[4,5,6];n=3; |
20 | c=call('ext3f','yes',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); | 27 | c=call('ext3f','yes',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); |
21 | if norm(c-(sin(a)+cos(b)))> %eps then pause,end | 28 | if norm(c-(sin(a)+cos(b)))> %eps then pause,end |
22 | c=call('ext3f','no',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); | 29 | c=call('ext3f','no',1,'c',n,2,'i',a,3,'d',b,4,'d','out',[1,3],5,'d'); |
23 | if norm(c-(a+b)) > %eps then pause,end | 30 | if norm(c-(a+b)) > %eps then pause,end |
24 | 31 | ||
32 | //=========================================================== | ||
25 | //Example #4 | 33 | //Example #4 |
34 | //=========================================================== | ||
26 | a=[1,2,3];b=[4,5,6];n=3;yes='yes'; | 35 | a=[1,2,3];b=[4,5,6];n=3;yes='yes'; |
27 | c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | 36 | c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); |
28 | if norm(c-(sin(a)+cos(b))) > %eps then pause,end | 37 | if norm(c-(sin(a)+cos(b))) > %eps then pause,end |
@@ -31,20 +40,25 @@ c=call('ext4f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d'); | |||
31 | if norm(c-(a+b)) > %eps then pause,end | 40 | if norm(c-(a+b)) > %eps then pause,end |
32 | //clear yes --> undefined variable : yes | 41 | //clear yes --> undefined variable : yes |
33 | 42 | ||
43 | //=========================================================== | ||
34 | //Example #5 | 44 | //Example #5 |
45 | //=========================================================== | ||
35 | // reading vector a in scilab internal stack | 46 | // reading vector a in scilab internal stack |
36 | a=[1,2,3];b=[2,3,4]; | 47 | a=[1,2,3];b=[2,3,4]; |
37 | c=call('ext5f',b,1,'d','out',[1,3],2,'d'); | 48 | c=call('ext5f',b,1,'d','out',[1,3],2,'d'); |
38 | if norm(c-(a+2*b)) > %eps then pause,end | 49 | if norm(c-(a+2*b)) > %eps then pause,end |
39 | 50 | ||
51 | //=========================================================== | ||
40 | //Example #6 | 52 | //Example #6 |
53 | //=========================================================== | ||
41 | //reading vector with name='a' in scilab internal stack | 54 | //reading vector with name='a' in scilab internal stack |
42 | a=[1,2,3];b=[2,3,4]; | 55 | a=[1,2,3];b=[2,3,4]; |
43 | c=call('ext6f','a',1,'c',b,2,'d','out',[1,3],3,'d'); | 56 | c=call('ext6f','a',1,'c',b,2,'d','out',[1,3],3,'d'); |
44 | if norm(c-(a+2*b)) > %eps then pause,end | 57 | if norm(c-(a+2*b)) > %eps then pause,end |
45 | 58 | ||
46 | 59 | //=========================================================== | |
47 | //Example #7 | 60 | //Example #7 |
61 | //=========================================================== | ||
48 | //creating vector c in scilab internal stack | 62 | //creating vector c in scilab internal stack |
49 | clear c; | 63 | clear c; |
50 | a=[1,2,3]; b=[2,3,4]; | 64 | a=[1,2,3]; b=[2,3,4]; |
@@ -56,40 +70,37 @@ if norm(c-(a+2*b)) > %eps then pause,end | |||
56 | //d exists | 70 | //d exists |
57 | if d<>"test" then pause,end | 71 | if d<>"test" then pause,end |
58 | 72 | ||
59 | //Example #8 | 73 | //=========================================================== |
60 | //param must be defined as a scilab variable | 74 | //Example #8 |
61 | param=[1,2,3]; | 75 | //=========================================================== |
62 | y=call('ext8f','out',size(param),1,'d'); | 76 | //call ext8f argument function with dynamic link |
63 | if norm(y-param) > %eps then pause,end | 77 | yref=ode([1;0;0],0,[0.4,4],'ext8f'); |
64 | 78 | ||
79 | //=========================================================== | ||
65 | //Example #9 | 80 | //Example #9 |
66 | //call ext9f argument function with dynamic link | 81 | //=========================================================== |
67 | yref=ode([1;0;0],0,[0.4,4],'ext9f'); | 82 | //passing a parameter to ext9f routine by a list: |
68 | |||
69 | //Example #10 | ||
70 | //passing a parameter to ext10f routine by a list: | ||
71 | param=[0.04,10000,3d+7]; | 83 | param=[0.04,10000,3d+7]; |
72 | y=ode([1;0;0],0,[0.4,4],list('ext10f',param)); | 84 | y=ode([1;0;0],0,[0.4,4],list('ext9f',param)); |
73 | if norm(y-yref) > 10000*%eps then pause,end | 85 | if norm(y-yref) > 10000*%eps then pause,end |
74 | 86 | ||
75 | //Example #11 | 87 | //=========================================================== |
88 | //Example #10 | ||
89 | //=========================================================== | ||
76 | //Passing a parameter to argument funtion of ode | 90 | //Passing a parameter to argument funtion of ode |
77 | param=[0.04,10000,3d+7]; | 91 | param=[0.04,10000,3d+7]; |
78 | y=ode([1;0;0],0,[0.4,4],'ext11f'); | 92 | y=ode([1;0;0],0,[0.4,4],'ext10f'); |
79 | //param must be defined as a scilab variable upon calling ode | 93 | //param must be defined as a scilab variable upon calling ode |
80 | if norm(y-yref) > 10000*%eps then pause,end | 94 | if norm(y-yref) > 10000*%eps then pause,end |
81 | 95 | ||
82 | //Example #12 | 96 | //=========================================================== |
83 | //same example as # 10 with call to matptr | 97 | //Example #11 |
84 | //param must be defined as a scilab variable | 98 | //=========================================================== |
85 | param=[0.04,10000,3d+7]; | ||
86 | y=ode([1;0;0],0,[0.4,4],'ext12f'); | ||
87 | if norm(y-yref) > 10000*%eps then pause,end | ||
88 | |||
89 | //Example #13 | ||
90 | //sharing common data | 99 | //sharing common data |
91 | a=1:10; | 100 | a=1:10; |
92 | n=10;a=1:10; | 101 | n=10;a=1:10; |
93 | call('ext13f',n,1,'i',a,2,'r','out',2); //loads b with a | 102 | call('ext11f',n,1,'i',a,2,'r','out',2); //loads b with a |
94 | c=call('ext14f',n,1,'i','out',[1,10],2,'r'); //loads c with b | 103 | c=call('ext12f',n,1,'i','out',[1,10],2,'r'); //loads c with b |
95 | if norm(c-a) > %eps then pause,end | 104 | if norm(c-a) > %eps then pause,end |
105 | |||
106 | //=========================================================== | ||
diff --git a/tests/basic_tests/matsys.dia.ref b/tests/basic_tests/matsys.dia.ref index 01597fd..41ceb03 100644 --- a/tests/basic_tests/matsys.dia.ref +++ b/tests/basic_tests/matsys.dia.ref | |||
@@ -312,7 +312,7 @@ errclear();errcatch(); | |||
312 | 312 | ||
313 | //whereis | 313 | //whereis |
314 | 314 | ||
315 | if whereis('sci2exp')<>'libm2sci' then bugmes();quit;end | 315 | if whereis('sci2exp')<>'m2scilib' then bugmes();quit;end |
316 | 316 | ||
317 | if whereis('aaa')<>[] then bugmes();quit;end | 317 | if whereis('aaa')<>[] then bugmes();quit;end |
318 | 318 | ||
diff --git a/tests/basic_tests/matsys.tst b/tests/basic_tests/matsys.tst index 38119ec..8bc723f 100644 --- a/tests/basic_tests/matsys.tst +++ b/tests/basic_tests/matsys.tst | |||
@@ -157,7 +157,7 @@ if iserror()<>1 then pause,end | |||
157 | errclear();errcatch(); | 157 | errclear();errcatch(); |
158 | 158 | ||
159 | //whereis | 159 | //whereis |
160 | if whereis('sci2exp')<>'libm2sci' then pause,end | 160 | if whereis('sci2exp')<>'m2scilib' then pause,end |
161 | if whereis('aaa')<>[] then pause,end | 161 | if whereis('aaa')<>[] then pause,end |
162 | 162 | ||
163 | //where | 163 | //where |
diff --git a/tests/basic_tests/result b/tests/basic_tests/result deleted file mode 100644 index 3ff21d9..0000000 --- a/tests/basic_tests/result +++ /dev/null | |||
@@ -1,149 +0,0 @@ | |||
1 | ------------------- File maxi.tst-------------------- | ||
2 | Test passed | ||
3 | ---------------------------------------------------------- | ||
4 | ------------------- File norm.tst-------------------- | ||
5 | Test passed | ||
6 | ---------------------------------------------------------- | ||
7 | ------------------- File matops.tst-------------------- | ||
8 | Test passed | ||
9 | ---------------------------------------------------------- | ||
10 | ------------------- File scilab.tst-------------------- | ||
11 | Test passed | ||
12 | ---------------------------------------------------------- | ||
13 | ------------------- File macro.tst-------------------- | ||
14 | Test passed | ||
15 | ---------------------------------------------------------- | ||
16 | ------------------- File calpol.tst-------------------- | ||
17 | Test passed | ||
18 | ---------------------------------------------------------- | ||
19 | ------------------- File clause.tst-------------------- | ||
20 | Test passed | ||
21 | ---------------------------------------------------------- | ||
22 | ------------------- File sparse.tst-------------------- | ||
23 | Test passed | ||
24 | ---------------------------------------------------------- | ||
25 | ------------------- File lsparse.tst-------------------- | ||
26 | Test passed | ||
27 | ---------------------------------------------------------- | ||
28 | ------------------- File lstops.tst-------------------- | ||
29 | Test passed | ||
30 | ---------------------------------------------------------- | ||
31 | ------------------- File polops.tst-------------------- | ||
32 | Test passed | ||
33 | ---------------------------------------------------------- | ||
34 | ------------------- File break.tst-------------------- | ||
35 | Test passed | ||
36 | ---------------------------------------------------------- | ||
37 | ------------------- File sprintf.tst-------------------- | ||
38 | Test passed | ||
39 | ---------------------------------------------------------- | ||
40 | ------------------- File sscanf.tst-------------------- | ||
41 | Test passed | ||
42 | ---------------------------------------------------------- | ||
43 | ------------------- File display.tst-------------------- | ||
44 | Test passed | ||
45 | ---------------------------------------------------------- | ||
46 | ------------------- File matode.tst-------------------- | ||
47 | Test passed | ||
48 | ---------------------------------------------------------- | ||
49 | ------------------- File matopt.tst-------------------- | ||
50 | Test passed | ||
51 | ---------------------------------------------------------- | ||
52 | ------------------- File matelm.tst-------------------- | ||
53 | Test passed | ||
54 | ---------------------------------------------------------- | ||
55 | ------------------- File polelm.tst-------------------- | ||
56 | Test passed | ||
57 | ---------------------------------------------------------- | ||
58 | ------------------- File metanet.tst-------------------- | ||
59 | Test passed | ||
60 | ---------------------------------------------------------- | ||
61 | ------------------- File matimp.tst-------------------- | ||
62 | Test passed | ||
63 | ---------------------------------------------------------- | ||
64 | ------------------- File dassldasrt.tst-------------------- | ||
65 | Test passed | ||
66 | ---------------------------------------------------------- | ||
67 | ------------------- File call.tst-------------------- | ||
68 | Test passed | ||
69 | ---------------------------------------------------------- | ||
70 | ------------------- File bvode.tst-------------------- | ||
71 | Test passed | ||
72 | ---------------------------------------------------------- | ||
73 | ------------------- File feval.tst-------------------- | ||
74 | Test passed | ||
75 | ---------------------------------------------------------- | ||
76 | ------------------- File auto.tst-------------------- | ||
77 | Test passed | ||
78 | ---------------------------------------------------------- | ||
79 | ------------------- File odedc.tst-------------------- | ||
80 | Test passed | ||
81 | ---------------------------------------------------------- | ||
82 | ------------------- File sound.tst-------------------- | ||
83 | Test passed | ||
84 | ---------------------------------------------------------- | ||
85 | ------------------- File listinsertion.tst-------------------- | ||
86 | Test passed | ||
87 | ---------------------------------------------------------- | ||
88 | ------------------- File listextraction.tst-------------------- | ||
89 | Test passed | ||
90 | ---------------------------------------------------------- | ||
91 | ------------------- File links.tst-------------------- | ||
92 | Test passed | ||
93 | ---------------------------------------------------------- | ||
94 | ------------------- File strelm.tst-------------------- | ||
95 | Test passed | ||
96 | ---------------------------------------------------------- | ||
97 | ------------------- File gsort.tst-------------------- | ||
98 | Test passed | ||
99 | ---------------------------------------------------------- | ||
100 | ------------------- File odedi.tst-------------------- | ||
101 | Test passed | ||
102 | ---------------------------------------------------------- | ||
103 | ------------------- File dcd.tst-------------------- | ||
104 | Test passed | ||
105 | ---------------------------------------------------------- | ||
106 | ------------------- File grand.tst-------------------- | ||
107 | Test passed | ||
108 | ---------------------------------------------------------- | ||
109 | ------------------- File grandb.tst-------------------- | ||
110 | Test passed | ||
111 | ---------------------------------------------------------- | ||
112 | ------------------- File resume.tst-------------------- | ||
113 | Test passed | ||
114 | ---------------------------------------------------------- | ||
115 | ------------------- File errcatch.tst-------------------- | ||
116 | Test passed | ||
117 | ---------------------------------------------------------- | ||
118 | ------------------- File arma.tst-------------------- | ||
119 | Test passed | ||
120 | ---------------------------------------------------------- | ||
121 | ------------------- File msscanf.tst-------------------- | ||
122 | Test passed | ||
123 | ---------------------------------------------------------- | ||
124 | ------------------- File msprintf.tst-------------------- | ||
125 | Test passed | ||
126 | ---------------------------------------------------------- | ||
127 | ------------------- File binary.tst-------------------- | ||
128 | Test failed ERROR DETECTED while executing binary.tst | ||
129 | ------------------- File mfprintf.tst-------------------- | ||
130 | Test passed | ||
131 | ---------------------------------------------------------- | ||
132 | ------------------- File mfscanf.tst-------------------- | ||
133 | Test passed | ||
134 | ---------------------------------------------------------- | ||
135 | ------------------- File fscanfMat.tst-------------------- | ||
136 | Test passed | ||
137 | ---------------------------------------------------------- | ||
138 | ------------------- File global.tst-------------------- | ||
139 | Test passed | ||
140 | ---------------------------------------------------------- | ||
141 | ------------------- File matsys.tst-------------------- | ||
142 | Test Failed SEE : diff -w matsys.dia matsys.dia.ref | ||
143 | ---------------------------------------------------------- | ||
144 | ------------------- File saveload.tst-------------------- | ||
145 | Test passed | ||
146 | ---------------------------------------------------------- | ||
147 | ------------------- File intops.tst-------------------- | ||
148 | Test passed | ||
149 | ---------------------------------------------------------- | ||