mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Made Approx a little more forgiving (to 100& epsilon of float) and added some more tests for it
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user