Skip to content

Commit 8a7ad82

Browse files
perostOpenModelica-Hudson
authored andcommitted
Updated nfinst test cases.
1 parent e4efaec commit 8a7ad82

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

flattening/modelica/scodeinst/classextends3.mo renamed to flattening/modelica/scodeinst/ClassExtends4.mo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// name: classextends3.mo
1+
// name: ClassExtends4
22
// keywords:
33
// status: correct
4-
// cflags: -d=newInst
4+
// cflags: -d=newInst
55
//
66

77
package PartialMedium
@@ -32,10 +32,10 @@ package SingleGasNasa
3232
end specificEnthalpy;
3333
end SingleGasNasa;
3434

35-
model M
35+
model ClassExtends4
3636
SingleGasNasa.ThermodynamicState state(p = 1, T = 2);
3737
Real x = SingleGasNasa.specificEnthalpy(state);
38-
end M;
38+
end ClassExtends4;
3939

4040
// Result:
4141
// function SingleGasNasa.specificEnthalpy

flattening/modelica/scodeinst/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ DuplicateElements6.mo \
236236
DuplicateElements7.mo \
237237
DuplicateElements8.mo \
238238
DuplicateElementsValid2.mo \
239-
classextends3.mo \
239+
ClassExtends4.mo \
240240
ModClass2.mo \
241241
ModClass4.mo \
242242
ModClass5.mo \

flattening/modelica/scodeinst/enum6.mo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ end M;
1818

1919
// Result:
2020
// class M
21+
// constant Real p.e[E.one];
22+
// constant Real p.e[E.two];
23+
// constant Real p.e[E.three];
2124
// Real e[P.E.one];
2225
// Real e[P.E.two];
2326
// Real e[P.E.three];

0 commit comments

Comments
 (0)