mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Removed unnecessary backslashes
This commit is contained in:
parent
203aa7bfa5
commit
1a18870056
1 changed files with 8 additions and 8 deletions
|
|
@ -34,26 +34,26 @@ namespace mock
|
||||||
# pragma push_macro( "small" )
|
# pragma push_macro( "small" )
|
||||||
# undef small
|
# undef small
|
||||||
#endif
|
#endif
|
||||||
MOCK_NARY_CONSTRAINT( small, 1, ( expected ), \
|
MOCK_NARY_CONSTRAINT( small, 1, ( expected ),
|
||||||
( boost::test_tools::check_is_small( actual, expected ) ) )
|
( boost::test_tools::check_is_small( actual, expected ) ) )
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
# pragma pop_macro( "small" )
|
# pragma pop_macro( "small" )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MOCK_NARY_CONSTRAINT( close, 2, ( expected, tolerance ), \
|
MOCK_NARY_CONSTRAINT( close, 2, ( expected, tolerance ),
|
||||||
( boost::test_tools::check_is_close( \
|
( boost::test_tools::check_is_close(
|
||||||
actual, expected, \
|
actual, expected,
|
||||||
boost::test_tools::percent_tolerance( tolerance ) ) ) )
|
boost::test_tools::percent_tolerance( tolerance ) ) ) )
|
||||||
MOCK_NARY_CONSTRAINT( close_fraction, 2, ( expected, tolerance ), \
|
MOCK_NARY_CONSTRAINT( close_fraction, 2, ( expected, tolerance ),
|
||||||
( boost::test_tools::check_is_close( \
|
( boost::test_tools::check_is_close(
|
||||||
actual, expected, \
|
actual, expected,
|
||||||
boost::test_tools::fraction_tolerance( tolerance ) ) ) )
|
boost::test_tools::fraction_tolerance( tolerance ) ) ) )
|
||||||
|
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
# pragma push_macro( "near" )
|
# pragma push_macro( "near" )
|
||||||
# undef near
|
# undef near
|
||||||
#endif
|
#endif
|
||||||
MOCK_NARY_CONSTRAINT( near, 2, ( expected, tolerance ), \
|
MOCK_NARY_CONSTRAINT( near, 2, ( expected, tolerance ),
|
||||||
std::abs( actual - expected ) < tolerance )
|
std::abs( actual - expected ) < tolerance )
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
# pragma pop_macro( "near" )
|
# pragma pop_macro( "near" )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue