Refactored constraints

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@179 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2011-01-10 22:14:31 +00:00
parent 176611c735
commit 3b6e4f6d37
12 changed files with 204 additions and 454 deletions

View file

@ -342,7 +342,7 @@ namespace
Expected threshold_;
};
template< typename Expected >
near_constraint< Expected > near( Expected expected, Expected threshold )
mock::constraint< near_constraint< Expected > > near( Expected expected, Expected threshold )
{
return near_constraint< Expected >( expected, threshold );
}