Fixed tests with string literal on lhs
This commit is contained in:
1 parent
b5fabcb26b
commit
1adebefb50
4 files changed
+14
-2
No files matched your search
@@ -43,6 +43,7 @@ TEST_CASE( "./succeeding/conditions/equality",
|
||||
REQUIRE( data.float_nine_point_one == Approx( 9.1f ) );
|
||||
REQUIRE( data.double_pi == Approx( 3.1415926535 ) );
|
||||
REQUIRE( data.str_hello == "hello" );
|
||||
REQUIRE( "hello" == data.str_hello );
|
||||
REQUIRE( data.str_hello.size() == 5 );
|
||||
|
||||
double x = 1.1 + 0.1 + 0.1;
|
||||
|
||||
Reference in new issue
Block a user