Commit 25efcc63 authored by reichenbach's avatar reichenbach

[FIX] fixed numerical problem in WLineTest on 32bit

parent 3a0135cb
......@@ -170,7 +170,7 @@ public:
line.push_back( WPosition( 7, 8, 9 ) );
double expected = length( WPosition( 1, 2, 3 ) - WPosition( 4, 5, 6 ) ) +
length( WPosition( 4, 5, 6 ) - WPosition( 7, 8, 9 ) );
TS_ASSERT_EQUALS( expected, pathLength( line ) );
TS_ASSERT_DELTA( expected, pathLength( line ), 1e-6 );
}
/**
......
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