Skip to content

Commit

Permalink
[testsuite] update ill posed models
Browse files Browse the repository at this point in the history
  • Loading branch information
kabdelhak authored and adrpo committed Jun 25, 2020
1 parent 7347290 commit c30918c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions testsuite/flattening/modelica/scodeinst/FuncBuiltinChange.mo
Expand Up @@ -7,17 +7,17 @@
//

model FuncBuiltinChange
discrete Real x;
Integer x = 1;
Boolean y = change(x);
Boolean b;
Boolean b = true;
Boolean z = change(b);
end FuncBuiltinChange;

// Result:
// class FuncBuiltinChange
// discrete Real x;
// Integer x = 1;
// Boolean y = change(x);
// Boolean b;
// Boolean b = true;
// Boolean z = change(b);
// end FuncBuiltinChange;
// endResult
8 changes: 4 additions & 4 deletions testsuite/flattening/modelica/scodeinst/FuncBuiltinPre.mo
Expand Up @@ -7,17 +7,17 @@
//

model FuncBuiltinPre
discrete Real x;
Real x = 1.0;
Real y = pre(x);
Integer i;
Integer i = 1;
Real z = pre(i);
end FuncBuiltinPre;

// Result:
// class FuncBuiltinPre
// discrete Real x;
// Real x = 1.0;
// Real y = pre(x);
// Integer i;
// Integer i = 1;
// Real z = /*Real*/(pre(i));
// end FuncBuiltinPre;
// endResult

0 comments on commit c30918c

Please sign in to comment.