mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@184 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
b654bc6bbb
commit
2b5385be40
4 changed files with 19 additions and 19 deletions
|
|
@ -327,15 +327,15 @@ namespace
|
|||
return std::abs( actual - expected_ ) < threshold_;
|
||||
}
|
||||
|
||||
friend std::ostream& operator<<( std::ostream& os, const near_constraint& c )
|
||||
friend std::ostream& operator<<( std::ostream& s, const near_constraint& c )
|
||||
{
|
||||
return os << "std::abs( _ - " << c.expected_ << " ) < " << c.threshold_;
|
||||
return s << "std::abs( _ - " << c.expected_ << " ) < " << c.threshold_;
|
||||
}
|
||||
|
||||
//template< typename Actual >
|
||||
//void explain( std::ostream& os, Actual actual ) const
|
||||
//void explain( std::ostream& s, Actual actual ) const
|
||||
//{
|
||||
// os << std::abs( actual - expected_ ) << " >= " << threshold_;
|
||||
// s << std::abs( actual - expected_ ) << " >= " << threshold_;
|
||||
//}
|
||||
|
||||
Expected expected_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue