16 #ifndef QGSRASTERCHECKER_H
17 #define QGSRASTERCHECKER_H
38 QString
report() {
return mReport; };
46 bool runTest( QString theVerifiedKey, QString theVerifiedUri,
47 QString theExpectedKey, QString theExpectedUri );
59 void error( QString theMessage, QString &theReport );
61 QString compareHead();
62 bool compare(
double verifiedVal,
double expectedVal,
double theTolerance );
63 void compare( QString theParamName,
int verifiedVal,
int expectedVal, QString &theReport,
bool &theOk );
64 void compare( QString theParamName,
double verifiedVal,
double expectedVal, QString &theReport,
bool &theOk,
double theTolerance = 0 );
65 void compareRow( QString theParamName, QString verifiedVal, QString expectedVal, QString &theReport,
bool theOk, QString theDifference =
"", QString theTolerance =
"" );
66 double tolerance(
double val,
int places = 6 );