The demo feature can be used to run tests covering most of the functionality of XTrackCAD.
xtrkcad.regress file from the directory containing the the .INI/.rc filesxtrkcad -d regression=2 xtrkcad /d regression=2/Applications/xtrkcad.app/Contents/MacOS/XtrkCAD -d regression=2After the tests are complete there will be a file called xtrkcad.regress in your working folder, ie. the directory where the .INI/.rc files are stored.
This will have a line for each test. If there are diffs , then there will be FAILURE lines.
Example:
REGRESSION FAIL 12
# D:\Applications\XTrackCAD Beta\share\xtrkcad\demos\dmgroup.xtr - 238
# Compare: T17 not found
Expected Track
STRAIGHT 17 0 0 0 0 DEMO 2 0.000000 0.000000
E4 2.125000 2.281250 270.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
T4 16 2.478000 2.281250 90.000000 0 0.0 0.0 0.0 0.0 0 0 0 0.000000
END$SEGS