Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Jun 29, 2016
1 parent 2bf54de commit b5f0fc8d8bdd19926bf526fdba573ab341c29228
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/core/qgstestutils.h
@@ -24,13 +24,13 @@
*/

#define QGSCOMPARENEAR(a,b,epsilon) { \
bool _xxxresult = qgsDoubleNear( a, b, epsilon ); \
if ( !_xxxresult ) \
{ \
qDebug( "Expecting %f got %f (diff %f > %f)", static_cast< double >( a ), static_cast< double >( b ), qAbs( static_cast< double >( a ) - b ), static_cast< double >( epsilon ) ); \
} \
QVERIFY( qgsDoubleNear( a, b, epsilon ) ); \
}
bool _xxxresult = qgsDoubleNear( a, b, epsilon ); \
if ( !_xxxresult ) \
{ \
qDebug( "Expecting %f got %f (diff %f > %f)", static_cast< double >( a ), static_cast< double >( b ), qAbs( static_cast< double >( a ) - b ), static_cast< double >( epsilon ) ); \
} \
QVERIFY( qgsDoubleNear( a, b, epsilon ) ); \
}


#endif // QGSTESTUTILS_H

0 comments on commit b5f0fc8

Please sign in to comment.
You can’t perform that action at this time.