tacmatch - tpcclib 0.8.0 © 2023 by Turku PET Centre

Verify that the contents in two TAC files are similar.
This can be used for automating software and analysis tool testing.
By default exact match is required for numerical values, but this behavior
can be changed with options -rel and -abs (below); if both are set, then
values are considered to match is either of the requirements is met.
Programs return code is 0, if files were matching, 10, if the files did
not match, and 1-9 in case of error.
 
Usage: tacmatch [options] filename1 filename2
 
Options:
 -x[=<Y|n>]
     X values (sample times) are checked (y, default) or not checked (n).
 -y[=<Y|n>]
     Y values (concentrations) are checked (y, default) or not checked (n).
 -w=<y|N>
     Weights are checked (y) or not checked (n, default).
 -tacnames[=<y|N>]
     TAC names are checked (y) or not checked (n, default).
 -xunit[=<y|N>]
     Time unit is checked (y) or not checked (n, default).
 -yunit[=<y|N>]
     Concentration unit is checked (y) or not checked (n, default).
 -abs=<value>
     Absolute differences must not exceed the specified limit.
 -rel=<value>
     Relative differences must not exceed the specified percent limit.
 -h, --help
     Display usage information on standard output and exit.
 -v, --version
     Display version and compile information on standard output and exit.
 -d[n], --debug[=n], --verbose[=n]
     Set the level (n) of debugging messages and listings.
 -q, --quiet
     Suppress displaying normal results on standard output.
 -s, --silent
     Suppress displaying anything except errors.
 
Example 1:
     tacmatch data1.tac data2.tac
Example 2:
     tacmatch -abs=0.02 -rel=5 data1.dat data2.dat
 
See also: taclist, iftmatch, imgmatch
 
Keywords: TAC, tool, software testing