ConstraintFixture

ConstraintFixture is a variation of CalculateFixture that has an expected value of 'true' for each calculation.

Table Format

The first row of the table is the fixture class name. After that, the second row contains names for input parameters. All rows after that specify values for the input parameters.

!|myLessThanConstraintFixture|
|firstPart|secondPart|
|1|2|
|2|3|

Fixture class

The fixture class should extend fitlibrary.ConstraintFixture. It should declare a boolean method with a name concatenated from all parameter names (in this case FirstPartSecondPart).


Personal Tools