Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2018-07-03 20:31:18 +0300
committeronqtam <vik.kirilov@gmail.com>2018-08-23 16:02:57 +0300
commit8171c4843a794347a7e809dec4043b9aa70c95f3 (patch)
tree8a64e5a9381ead22fec79035c316bdc17b090316 /examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt
parent6b05c20ce9ca05a51e3c6f07ab11f788ffd9b548 (diff)
polished the feature for allowing the use of asserts outside of a testing context (also example and docs) - relates #114
Diffstat (limited to 'examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt')
-rw-r--r--examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt b/examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt
new file mode 100644
index 00000000..97331b44
--- /dev/null
+++ b/examples/all_features/test_output/asserts_used_outside_of_tests.cpp.txt
@@ -0,0 +1,21 @@
+[doctest] run with "--help" for options
+===============================================================================
+[doctest] test cases: 0 | 0 passed | 0 failed |
+[doctest] assertions: 0 | 0 passed | 0 failed |
+[doctest] Status: SUCCESS!
+Program code.
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(12): ERROR: FAST_CHECK_EQ( true, false ) is NOT correct!
+ values: FAST_CHECK_EQ( true, false )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(13): ERROR: FAST_CHECK_UNARY( false ) is NOT correct!
+ values: FAST_CHECK_UNARY( false )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(14): ERROR: FAST_CHECK_UNARY_FALSE( true ) is NOT correct!
+ values: FAST_CHECK_UNARY_FALSE( true )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(16): ERROR: CHECK_EQ( true, false ) is NOT correct!
+ values: CHECK_EQ( true, false )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(17): ERROR: CHECK_UNARY( false ) is NOT correct!
+ values: CHECK_UNARY( false )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(18): ERROR: CHECK_UNARY_FALSE( true ) is NOT correct!
+ values: CHECK_UNARY_FALSE( true )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(20): ERROR: CHECK( false ) is NOT correct!
+ values: CHECK( false )
+D:\doctest\examples\all_features\asserts_used_outside_of_tests.cpp(21): ERROR: an assert dealing with exceptions has failed!