16 #ifndef QGSRASTERCHECKER_H 
   17 #define QGSRASTERCHECKER_H 
   19 #include "qgis_core.h" 
   47     bool runTest( 
const QString &verifiedKey, QString verifiedUri,
 
   48                   const QString &expectedKey, QString expectedUri );
 
   60     void error( 
const QString &message, QString &report );
 
   62     QString compareHead();
 
   63     bool compare( 
double verifiedVal, 
double expectedVal, 
double tolerance );
 
   64     void compare( 
const QString ¶mName, 
int verifiedVal, 
int expectedVal, QString &report, 
bool &ok );
 
   76     void compare( 
const QString ¶mName, 
double verifiedVal, 
double expectedVal, QString &report, 
bool &ok, 
double tolerance = 0 );
 
   77     void compareRow( 
const QString ¶mName, 
const QString &verifiedVal, 
const QString &expectedVal, QString &report, 
bool ok, 
const QString &difference = QString(), 
const QString &tolerance = QString() );
 
   78     double tolerance( 
double val, 
int places = 6 );
 
DataType
Raster data types.
This is a helper class for unit tests that need to write an image and compare it to an expected resul...