mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Indentation
This commit is contained in:
parent
2bf54de8ba
commit
b5f0fc8d8b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user