Skip to content

Commit

Permalink
Expected output for builtin changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Feb 10, 2017
1 parent 51b04fd commit ef660b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
3 changes: 1 addition & 2 deletions flattening/modelica/synchronous/HoldTest.mo
Expand Up @@ -20,7 +20,6 @@ end HoldTest;
// Real z[2];
// equation
// x = /*Real*/(hold(3));
// y[1] = hold(z[1]);
// y[2] = hold(z[2]);
// y = hold({z[1], z[2]});
// end HoldTest;
// endResult
10 changes: 4 additions & 6 deletions flattening/modelica/synchronous/IntervalTest.mo
Expand Up @@ -3,7 +3,7 @@
// status: correct

model IntervalTest
Real y[2], u[2];
Real y, u[2];
Integer x(start=0);
equation
x = previous(x);
Expand All @@ -12,14 +12,12 @@ end IntervalTest;

// Result:
// class IntervalTest
// Real y[1];
// Real y[2];
// Real y;
// Real u[1];
// Real u[2];
// Integer x(start = 0);
// equation
// x = previous(x);
// y[1] = interval(u[1]);
// y[2] = interval(u[2]);
// y = interval({u[1], u[2]});
// end IntervalTest;
// endResult
// endResult
6 changes: 2 additions & 4 deletions flattening/modelica/synchronous/NoClockTest.mo
Expand Up @@ -24,9 +24,7 @@ end NoClockTest;
// output Integer yy[2];
// equation
// x = /*Real*/(noClock(3));
// y[1] = noClock(z[1]);
// y[2] = noClock(z[2]);
// yy[1] = noClock(3);
// yy[2] = noClock(4);
// y = noClock({z[1], z[2]});
// yy = noClock({3, 4});
// end NoClockTest;
// endResult

0 comments on commit ef660b6

Please sign in to comment.