/[ascend]/trunk/models/test/blackbox/fail1.a4c
ViewVC logotype

Contents of /trunk/models/test/blackbox/fail1.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1032 - (show annotations) (download) (as text)
Thu Jan 4 01:51:38 2007 UTC (18 years, 10 months ago) by johnpye
File MIME type: text/x-ascend
File size: 425 byte(s)
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.
1 REQUIRE "system.a4l";
2 REQUIRE "basemodel.a4l";
3 IMPORT "test/blackbox/bboxtest"; (* yi = coef*xi test *)
4
5 (* mismatched arg counts check-- tests bbox, not ascend. *)
6 MODEL fail1;
7 coef IS_A real_constant;
8 n IS_A integer_constant;
9 n :== 3;
10 coef :== 1.0;
11 x[1..n], y[1..n+1] IS_A generic_real;
12
13 bbox: bboxtest( x[1..n] : INPUT ;
14 y[1..n+1] : OUTPUT ;
15 coef : DATA);
16 END fail1;

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22