Skip to content

Commit

Permalink
add Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
halentin committed Sep 13, 2024
1 parent a3fcd4e commit 3900790
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/FMI3/model_description.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ myFMU = loadFMU("BouncingBall", "ModelicaReferenceFMUs", "0.0.30", "3.0")
@test getDefaultTolerance(myFMU.modelDescription) === nothing
@test getDefaultStepSize(myFMU.modelDescription) === 0.01

@test myFMU.modelDescription.numberOfEventIndicators == 1
@test myFMU.modelDescription.eventIndicatorValueReferences == [1]
@test typeof(myFMU.modelDescription.modelStructure.eventIndicators[1]) == fmi3VariableDependency


info(myFMU) # check if there is an error thrown

unloadFMU(myFMU)

0 comments on commit 3900790

Please sign in to comment.