summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoronqtam <vik.kirilov@gmail.com>2016-08-02 16:15:32 +0300
committeronqtam <vik.kirilov@gmail.com>2016-09-21 15:46:11 +0300
commitbaa61b9e9546ff94113df05250ba964649f2bcfc (patch)
treee56a04eefebd14c0d98ace76dc10d356690ffc68 /examples
parent30c5e4b64b4e28028c76510f33f13306635a4b28 (diff)
forgot reference output
Diffstat (limited to 'examples')
-rw-r--r--examples/code_coverage/test_output/order_1.txt49
-rw-r--r--examples/code_coverage/test_output/order_2.txt49
-rw-r--r--examples/code_coverage/test_output/order_3.txt49
3 files changed, 147 insertions, 0 deletions
diff --git a/examples/code_coverage/test_output/order_1.txt b/examples/code_coverage/test_output/order_1.txt
new file mode 100644
index 0000000..1241441
--- /dev/null
+++ b/examples/code_coverage/test_output/order_1.txt
@@ -0,0 +1,49 @@
+[doctest] doctest version is "1.0.0"
+[doctest] run with "--help" for options
+omgomgomg"aaa"0.5f990.11d1111aaa===============================================================================
+test.cpp(27)
+assertions
+
+test.cpp(32) FAILED!
+ CHECK( 1 == 0 )
+with expansion:
+ CHECK( 1 == 0 )
+
+test.cpp(33) FAILED!
+ CHECK_FALSE( 1 )
+with expansion:
+ CHECK_FALSE( 1 )
+
+test.cpp(34) FAILED!
+ CHECK( Approx(0.1) == 0.2 )
+with expansion:
+ CHECK( Approx( 0.1 ) == 0.2 )
+
+test.cpp(37) FAILED!
+ CHECK_THROWS( throws(false) )
+
+test.cpp(39) FAILED!
+ CHECK_NOTHROW( throws(true) )
+
+test.cpp(41) FAILED! (didn't throw at all)
+ CHECK_THROWS_AS( throws(false), bool )
+
+===============================================================================
+test.cpp(44)
+throws
+
+TEST CASE FAILED! (threw exception)
+
+===============================================================================
+test.cpp(6)
+subcases
+ 2
+
+test.cpp(11) FAILED!
+ CHECK( 0 )
+with expansion:
+ CHECK( 0 )
+
+===============================================================================
+[doctest] test cases: 5 | 2 passed | 3 failed | 0 skipped
+[doctest] assertions: 14 | 7 passed | 7 failed |
diff --git a/examples/code_coverage/test_output/order_2.txt b/examples/code_coverage/test_output/order_2.txt
new file mode 100644
index 0000000..dd9278b
--- /dev/null
+++ b/examples/code_coverage/test_output/order_2.txt
@@ -0,0 +1,49 @@
+[doctest] doctest version is "1.0.0"
+[doctest] run with "--help" for options
+===============================================================================
+test.cpp(27)
+assertions
+
+test.cpp(32) FAILED!
+ CHECK( 1 == 0 )
+with expansion:
+ CHECK( 1 == 0 )
+
+test.cpp(33) FAILED!
+ CHECK_FALSE( 1 )
+with expansion:
+ CHECK_FALSE( 1 )
+
+test.cpp(34) FAILED!
+ CHECK( Approx(0.1) == 0.2 )
+with expansion:
+ CHECK( Approx( 0.1 ) == 0.2 )
+
+test.cpp(37) FAILED!
+ CHECK_THROWS( throws(false) )
+
+test.cpp(39) FAILED!
+ CHECK_NOTHROW( throws(true) )
+
+test.cpp(41) FAILED! (didn't throw at all)
+ CHECK_THROWS_AS( throws(false), bool )
+
+omgomgomg"aaa"0.5f990.11d1111aaa===============================================================================
+test.cpp(6)
+subcases
+ 2
+
+test.cpp(11) FAILED!
+ CHECK( 0 )
+with expansion:
+ CHECK( 0 )
+
+===============================================================================
+test.cpp(44)
+throws
+
+TEST CASE FAILED! (threw exception)
+
+===============================================================================
+[doctest] test cases: 5 | 2 passed | 3 failed | 0 skipped
+[doctest] assertions: 14 | 7 passed | 7 failed |
diff --git a/examples/code_coverage/test_output/order_3.txt b/examples/code_coverage/test_output/order_3.txt
new file mode 100644
index 0000000..ff07473
--- /dev/null
+++ b/examples/code_coverage/test_output/order_3.txt
@@ -0,0 +1,49 @@
+[doctest] doctest version is "1.0.0"
+[doctest] run with "--help" for options
+===============================================================================
+test.cpp(44)
+throws
+
+TEST CASE FAILED! (threw exception)
+
+omgomgomg"aaa"0.5f990.11d1111aaa===============================================================================
+test.cpp(27)
+assertions
+
+test.cpp(32) FAILED!
+ CHECK( 1 == 0 )
+with expansion:
+ CHECK( 1 == 0 )
+
+test.cpp(33) FAILED!
+ CHECK_FALSE( 1 )
+with expansion:
+ CHECK_FALSE( 1 )
+
+test.cpp(34) FAILED!
+ CHECK( Approx(0.1) == 0.2 )
+with expansion:
+ CHECK( Approx( 0.1 ) == 0.2 )
+
+test.cpp(37) FAILED!
+ CHECK_THROWS( throws(false) )
+
+test.cpp(39) FAILED!
+ CHECK_NOTHROW( throws(true) )
+
+test.cpp(41) FAILED! (didn't throw at all)
+ CHECK_THROWS_AS( throws(false), bool )
+
+===============================================================================
+test.cpp(6)
+subcases
+ 2
+
+test.cpp(11) FAILED!
+ CHECK( 0 )
+with expansion:
+ CHECK( 0 )
+
+===============================================================================
+[doctest] test cases: 5 | 2 passed | 3 failed | 0 skipped
+[doctest] assertions: 14 | 7 passed | 7 failed |