Made Approx a little more forgiving (to 100& epsilon of float) and added some more tests for it

This commit is contained in:
Phil Nash 2011-06-03 18:56:47 +01:00
parent f5668fafd9
commit cae44d8ace
2 changed files with 41 additions and 2 deletions

View file

@ -29,7 +29,7 @@ namespace Catch
(
double d
)
: m_epsilon( std::numeric_limits<double>::epsilon() ),
: m_epsilon( std::numeric_limits<float>::epsilon()*100 ),
m_scale( 1.0 ),
m_d( d )
{