Added tests (single char pretty printing + op overload)

Tests for issue #809 -- Potentional operator overload ambiguity -- and
PR #646 -- Pretty print characters.
This commit is contained in:
Martin Hořeňovský
2017-02-07 13:32:48 +01:00
parent a5ce57b346
commit 7db4d8d90c
8 changed files with 343 additions and 9 deletions

View File

@@ -14,6 +14,18 @@ PASSED:
with message:
yay
-------------------------------------------------------------------------------
#809
-------------------------------------------------------------------------------
CompilationTests.cpp:<line number>
...............................................................................
CompilationTests.cpp:<line number>:
PASSED:
REQUIRE( 42 == f )
with expansion:
42 == {?}
-------------------------------------------------------------------------------
'Not' checks that should fail
-------------------------------------------------------------------------------
@@ -35,6 +47,6 @@ ConditionTests.cpp:<line number>: FAILED:
CHECK_FALSE( true )
===============================================================================
test cases: 2 | 1 passed | 1 failed
assertions: 5 | 1 passed | 4 failed
test cases: 3 | 2 passed | 1 failed
assertions: 6 | 2 passed | 4 failed