mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Refactoring
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@311 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
8d7b34792d
commit
5f651655c6
15 changed files with 194 additions and 240 deletions
|
|
@ -22,7 +22,7 @@
|
|||
expected_call_count = 0;
|
||||
#define CHECK_ERROR( expr, error, calls, context ) \
|
||||
BOOST_CHECK( verify() ); \
|
||||
expr; \
|
||||
try { expr; } catch( ... ) {} \
|
||||
BOOST_CHECK_EQUAL( 1, error##_count ); \
|
||||
CHECK_CALLS( calls ); \
|
||||
BOOST_CHECK_EQUAL( context, last_context ); \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue