Commit 3a0135cb authored by reichenbach's avatar reichenbach

[FIX] fixed 32bit problem in WHistogram2D test

parent e56599b0
......@@ -151,7 +151,7 @@ public:
void testInsertAlmostMax( void )
{
double max = 10000.000000010001;
WHistogram2D h( -2147483648, max, -2147483648, max, 2, 2 );
WHistogram2D h( -2147483646, max, -2147483646, max, 2, 2 );
h.insert( 10000, 10000 );
h.insert( max - 2.0 * wlimits::FLT_EPS, max - 2.0 * wlimits::FLT_EPS );
TS_ASSERT_EQUALS( h( 1, 1 ), 2 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment