doctest

FORK: The fastest feature-rich C++11/14/17/20 single-header testing framework
git clone https://git.neptards.moe/neptards/doctest.git
Log | Files | Refs | README

asserts_used_outside_of_tests.cpp.txt (817B)


      1 [doctest] run with "--help" for options
      2 ===============================================================================
      3 [doctest] test cases: 0 | 0 passed | 0 failed |
      4 [doctest] assertions: 0 | 0 passed | 0 failed |
      5 [doctest] Status: SUCCESS!
      6 Program code.
      7 asserts_used_outside_of_tests.cpp(19): ERROR: CHECK_EQ( true, false ) is NOT correct!
      8   values: CHECK_EQ( true, false )
      9 asserts_used_outside_of_tests.cpp(20): ERROR: CHECK_UNARY( false ) is NOT correct!
     10   values: CHECK_UNARY( false )
     11 asserts_used_outside_of_tests.cpp(21): ERROR: CHECK_UNARY_FALSE( true ) is NOT correct!
     12   values: CHECK_UNARY_FALSE( true )
     13 asserts_used_outside_of_tests.cpp(23): ERROR: CHECK( false ) is NOT correct!
     14   values: CHECK( false )
     15 hello! 
     16 asserts_used_outside_of_tests.cpp(24): ERROR: an assert dealing with exceptions has failed!