mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
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:
parent
176611c735
commit
3b6e4f6d37
12 changed files with 204 additions and 454 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue