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@666 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
c697b48802
commit
bd2fc97bb9
3 changed files with 15 additions and 7 deletions
|
|
@ -466,6 +466,12 @@ BOOST_FIXTURE_TEST_CASE( triggering_an_expectation_returns_the_set_value, error_
|
|||
BOOST_CHECK_EQUAL( 0, f() );
|
||||
CHECK_CALLS( 1 );
|
||||
}
|
||||
{
|
||||
mock::detail::function< unsigned int() > f;
|
||||
f.expect().returns( 0 );
|
||||
BOOST_CHECK_EQUAL( 0u, f() );
|
||||
CHECK_CALLS( 1 );
|
||||
}
|
||||
}
|
||||
|
||||
namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue