mirror of
https://github.com/boostorg/test.git
synced 2026-02-02 21:22:10 +00:00
bae8de14b4b54481c5bd77e19befe9ebec2b9936
Added support for collection comparison interface using BOOST_CHECK( c1 == c2 ). This interface supports all forward iterable collections (including boost::range, but it is currently broken due to error in boost::range. Added support for floating point comparisons using BOOST_CHECK( a == b, tolerance ) interface. Both percent and fraction tolerance are supported. NEW feature: added support for floating point comparisons using BOOST_CHECK( a >= b, tolerance ) interface (all kinds of comparisons: != >= >, <= <). Both percent and fraction tolerance are supported. NEW feature: added support for bitwise comparison using BOOST_CHECK( a == b, bitwise ) interface NEW feature: sticky tolerance. We now can specify type specific tolerance once and use it in multiple BOOST_CHECK( a==b ) with floating point values without specifying one. More over one can now specify a tolerance for the test case using the new decorator decorator::tolerance() NEW feature: added support for fixture decorator with an argument Rerouted printing values in new tools message formatting implementation through the print_helper_t interface to facilitate used defined overwrite. predicate_result-> assertion_result to better convey the intended use Implemented new error message formatting helpers check_is_close_t, check_is_small_t eliminated. Use either functions or new tools API instead. Added full set of comparison routines for basic_cstring New traits: is_cstring is_forward_iterable implementation improved Failure to open a pattern file is not a warning, but just a message now Use new C++11 config macros [SVN r82718]
This is the main directory for the Boost Test Library. (Not to be confused with a directory containing test programs for the parent directory.) Full instructions for use of this library can be accessed from libs/test/docs/index.html This library is part of boost (see www.boost.org), the latest version of the library is available from the boost web site, or development snapshots from the boost cvs repository at http://sourceforge.net/project/?group_id=7586 ************************************************************************ Copyright Gennadiy Rozental 2001-2011. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)
Languages
C++
99%
CMake
0.9%