2.2.9. The TestSets elementΒΆ
..A Testsets element information item is a child of a ModelUnit element.
<ModelUnit modelid=" " timestep=" " name=" " version =" ">
...
<Testsets>
<Testset name="" parameterset = "" description="" uri = ""/>
<Testset name="" parameterset = "" description="" >
<Test name="">
<InputValue name="">value</InputValue>
...
<OutputValue name="" precision ="">value</OutputValue>
...
</Test>
...
</Testset>
...
</Testsets>
...
</ModelUnit>
A
Testsetselement MUST contain one or more Testset element.A
TestSetdefines different model unit tests.Each
Testsetelement MUST have aname, adescriptionandparametersetattributesThe value of the
parametersetattribute MUST already be specified as a value of thenameattribute of anParametersetelement.Each
TestSetelement MUST contain one or moreTestelementsA
Testdefines one unit test for the model checking.Each
Testelement MUST contain anameattribute and it MAY havedescriptionanduriattributes.Each
Testelement MUST contain one or moreInputValueandOutputValueelements.The checking consists of run the model with the values of
InputValueelements and compare the result with the values ofOutputValueelements.