16 #ifndef QGSRASTERCHECKER_H
17 #define QGSRASTERCHECKER_H
19 #include "qgis_core.h"
45 bool runTest(
const QString &verifiedKey, QString verifiedUri,
46 const QString &expectedKey, QString expectedUri );
58 void error(
const QString &message, QString &report );
60 QString compareHead();
61 bool compare(
double verifiedVal,
double expectedVal,
double tolerance );
62 void compare(
const QString ¶mName,
int verifiedVal,
int expectedVal, QString &report,
bool &ok );
63 void compare(
const QString ¶mName,
double verifiedVal,
double expectedVal, QString &report,
bool &ok,
double tolerance = 0 );
64 void compareRow(
const QString ¶mName,
const QString &verifiedVal,
const QString &expectedVal, QString &report,
bool ok,
const QString &difference = QString(),
const QString &tolerance = QString() );
65 double tolerance(
double val,
int places = 6 );