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 committed 2011-06-03 18:56:47 +01:00
1 parent f5668fafd9
commit cae44d8ace
2 files changed
+41 -2

No files matched your search

+1 -1
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 )
{