Language
Compiler
Options
Raw runtime options
--success
$ --success
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.exe is a Catch v1.10.0 host application.
Run with -? for options
-------------------------------------------------------------------------------
Assert that something is true (pass)
-------------------------------------------------------------------------------
prog.cc:16
...............................................................................
prog.cc:17:
PASSED:
REQUIRE( one() == "1" )
with expansion:
"1" == "1"
-------------------------------------------------------------------------------
Assert that something is true (fail)
-------------------------------------------------------------------------------
prog.cc:20
...............................................................................
prog.cc:21: FAILED:
REQUIRE( one() == "x" )
with expansion:
"1" == "x"
-------------------------------------------------------------------------------
Assert that something is true (stop at first failure)
-------------------------------------------------------------------------------
prog.cc:24
...............................................................................
prog.cc:25: FAILED:
REQUIRE( one() == "x" )
with expansion:
"1" == "x"
-------------------------------------------------------------------------------
Assert that something is true (continue after failure)
-------------------------------------------------------------------------------
prog.cc:29
...............................................................................
prog.cc:30: FAILED:
CHECK( one() == "x" )
with expansion:
"1" == "x"
prog.cc:31:
PASSED:
REQUIRE( one() == "1" )
with expansion:
"1" == "1"
===============================================================================
test cases: 4 | 1 passed | 3 failed
assertions: 5 | 2 passed | 3 failed
Exit Code:
3