-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
causality independent + non-float error check
forgot to commit new test whitespace
- Loading branch information
Peter Meisrimel
authored and
Peter Meisrimel
committed
Jul 16, 2024
1 parent
3efaaeb
commit e08e829
Showing
7 changed files
with
64 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
Test/FMI3/parser_test_xmls/variables/invalid/nonfloat_independent/modelDescription.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<fmiModelDescription fmiVersion="3.0" modelName="" instantiationToken=""> | ||
<ModelExchange modelIdentifier="modelIdentifier"/> | ||
|
||
<TypeDefinitions> | ||
<EnumerationType name="MyEnum"> | ||
<Item name="item1" value="1"/> | ||
</EnumerationType> | ||
</TypeDefinitions> | ||
|
||
<ModelVariables> | ||
<!-- The independent variable must be defined as a floating point type --> | ||
<Int32 name="i32" valueReference="1" causality="independent"/> | ||
<Int64 name="i64" valueReference="2" causality="independent"/> | ||
<Enumeration name="enum" valueReference="3" declaredType="MyEnum" causality="independent"/> | ||
<Binary name="binary" valueReference="4" causality="independent"/> | ||
<Clock name="clock" valueReference="5" intervalVariability="constant" causality="independent"/> | ||
<Boolean name="bool" valueReference="6" causality="independent"/> | ||
</ModelVariables> | ||
|
||
<ModelStructure/> | ||
</fmiModelDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters