You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
is there a chance to change INTERNAL_CHECK_THAT, so that the expression to be tested is evaluated only once. It's a little bit counter intuitive to have the argument evaluated twice.
REQUIRE_THAT( f(), check_f );
Will call f() two times and if f() is not Idempotent, we have to write:
const auto x = f();
REQUIRE_THAT( x, check_f );
kind regards,
Torsten
The text was updated successfully, but these errors were encountered:
Hi,
is there a chance to change INTERNAL_CHECK_THAT, so that the expression to be tested is evaluated only once. It's a little bit counter intuitive to have the argument evaluated twice.
Will call f() two times and if f() is not Idempotent, we have to write:
kind regards,
Torsten
The text was updated successfully, but these errors were encountered: