Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed Nov 19, 2018
1 parent 59a2937 commit 7603f20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion metamodelica/meta/PartialFn11.mo
Expand Up @@ -33,7 +33,7 @@ model PartialFn11
Real y;
equation
x = 2.0;
y = CallerFn(x, function FullFn(1.5,7.5));
y = CallerFn(x, function FullFn(extraReal1 = 1.5, extraReal2 = 7.5));
end PartialFn11;

// class PartialFn11
Expand Down
2 changes: 1 addition & 1 deletion metamodelica/meta/PartialFn13.mo
Expand Up @@ -30,7 +30,7 @@ function TestFn
input Real inReal;
output Real outReal;
algorithm
outReal := CallerFn(inReal, function FullFn(1.5,7.5));
outReal := CallerFn(inReal, function FullFn(extraReal1 = 1.5, extraReal2 = 7.5));
end TestFn;

model PartialFn13
Expand Down
4 changes: 2 additions & 2 deletions metamodelica/meta/PartialFn9.mo
Expand Up @@ -55,8 +55,8 @@ function runTest
output Integer e;
Integer d;
algorithm
d := testTestFunc(c,function testFunc2(0,arg2=0));
e := testTestFunc(d,function testFunc3(0,arg3=1,arg4=0));
d := testTestFunc(c,function testFunc2(x=0,arg2=0));
e := testTestFunc(d,function testFunc3(x=0,arg3=1,arg4=0));
end runTest;

end PartialFn9;

0 comments on commit 7603f20

Please sign in to comment.