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
| Name | Description |
|---|---|
| Assert that a value is within specification | |
| Assert that values are within specification | |
| Assert that a value is within orders of magnitude of specification | |
| Assert that values are within orders of magnitude of specification | |
| AssertTrajectory | |
| AssertBecomesTrueAt | |
| AssertInitial | Assert the initial value of a signal |
| AssertFinal | Assert the final value of a signal |
| AssertAverageBetween | Assert an average value between two times. |
| AssertValueAt | Assert the initial value of a signal at a specific time |
| A library to test the assertion primitives in this library |