packageTest

Library to facilitate assertion-based testing of Modelica code

Extends from Modelica.Icons.Package (Icon for standard packages).

Information

This package is modified from XogenyTest version 1.1 by Michael Tiller of Xogeny, Inc. XogenyTest is available at https://github.com/xogeny/XogenyTest under a Creative Commons Attribution 3.0 Unported License. If the Tests package is removed from the FCSys distribution, then this package can be safely removed as well.

Contents

NameDescription
assertValueAssert that a value is within specification
assertValuesAssert that values are within specification
assertLogValueAssert that a value is within orders of magnitude of specification
assertLogValuesAssert that values are within orders of magnitude of specification
AssertTrajectory
AssertBecomesTrueAt
AssertInitialAssert the initial value of a signal
AssertFinalAssert the final value of a signal
AssertAverageBetweenAssert an average value between two times.
AssertValueAtAssert the initial value of a signal at a specific time
TestsA library to test the assertion primitives in this library