2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-29 20:12:09 +00:00
Commit Graph

794 Commits

Author SHA1 Message Date
Gennadiy Rozental
eeea1f90df simplified tolerance_based metafunction and close_at_tolerance; updated docs 2015-03-31 09:36:41 +01:00
Raffi Enficiaud
5f1e6c2cb0 Fixing the issues when instantiating std::numeric_limits with an array (MSVC complains when T is of an array type) 2015-03-27 18:28:51 +01:00
Raffi Enficiaud
09e4185086 Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc
Conflicts:
	include/boost/test/tools/assertion.hpp
	include/boost/test/tools/floating_point_comparison.hpp
2015-03-27 17:51:25 +01:00
Raffi Enficiaud
402dd1e176 Merge branch 'local/fix_msvc_unit_tests' into develop
Conflicts:
	include/boost/test/tools/floating_point_comparison.hpp
2015-03-27 17:43:14 +01:00
Raffi Enficiaud
0aba7f87dd Fixing floating point comparisons
Now
- for the "close enough" method, shows the min of the fractions if they are both failing
- for the "very close" method, shows the min in all cases.
- the negation is included in the close_at_tolerance, otherwise the comparison is not storing the failing fraction (if the negation is outside)
2015-03-27 17:31:22 +01:00
Raffi Enficiaud
6432b13c96 Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc 2015-03-26 18:34:01 +01:00
Raffi Enficiaud
9fc6cd2eda Merge branch 'local/fix_msvc_unit_tests' into develop 2015-03-26 18:30:53 +01:00
Raffi Enficiaud
1e3d510088 Fixing tests for MSVC-11 2015-03-26 18:27:21 +01:00
Raffi Enficiaud
1f94d4a9bb silencing a warning 2015-03-25 22:00:33 +01:00
Raffi Enficiaud
e99fd5494f Merge branch 'develop' into tractickets/11054-multiprecision_test_fixes-doc
* develop: (35 commits)
  Fixing tests on GCCs
  Fixing test on GCCs
  Fixing the tests of this file for GCCs
  Fix collection test on Gccs
  Adding support for C++11 to old gcc compilers as well Fixing issues with arrays
  Fixing counter for r-value ref supported but std::vector still lacking the proper constructor
  Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection
  silence a warning in gcc 4.5
  Revert "introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  Revert "introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types"
  introduce fpc::tolerance_based to be used instead of is_floating_point. This should allow us to extend tolerance based comparisons t omore types
  introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types
  remove executable from header
  remove executable form header
  fix MSVC-12 tests
  ENABLE new test tools fix few leftovers from implementation of new FPV comparisons restore test case in test_fp_comparisons.cpp
  test to clear the error on CrystaX runners
  some doc
  const of the elements of the table
  Trying to fix the array problem on Clang 3.4
  ...

Conflicts:
	include/boost/test/tools/floating_point_comparison.hpp
	include/boost/test/tools/old/impl.hpp
2015-03-25 21:59:46 +01:00
Raffi Enficiaud
7cdd24dfe2 Merge branch 'local/fix_msvc_unit_tests' into develop
* local/fix_msvc_unit_tests:
  Adding support for C++11 to old gcc compilers
  Fixing tests on GCCs && Clang (Linux / OSX), VS 2013
  Fixing issues with arrays
  Fixing tests due to std::vector constructor
  Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection
2015-03-25 16:05:53 +01:00
Raffi Enficiaud
70d8da736b Adding support for C++11 to old gcc compilers as well
Fixing issues with arrays
2015-03-25 15:08:03 +01:00
Raffi Enficiaud
29813acd82 Once for all the "Mismatch at" instead of "Mismatch in" for every type of collection 2015-03-25 12:09:39 +01:00
Raffi Enficiaud
1ece86b02d silence a warning in gcc 4.5 2015-03-25 09:57:18 +01:00
Raffi Enficiaud
1cb93a14d8 Revert "introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types"
This reverts commit 573eef160d.
2015-03-24 17:35:17 +01:00
Gennadiy Rozental
5199029320 cherry picking 573eef1
resolving the conflicts
2015-03-24 10:16:26 +01:00
Gennadiy Rozental
573eef160d introduce fpc::tolerance_based to be used instead of if_floating_point. This should allow us to extend tolerance based comparisons t omore types 2015-03-24 00:14:48 -04:00
Gennadiy Rozental
5c1c95110f remove executable from header 2015-03-23 19:50:31 -04:00
Gennadiy Rozental
adfea59e67 remove executable form header 2015-03-23 19:47:59 -04:00
Raffi Enficiaud
b41a9354e9 - macro indicating the availability of the variadic variant of BOOST_TEST
- replacing all boost::is_floating_point by a trait is_floating_point_comparable
- reporting the errors messages in the static_asserts
- compiling now the boost.mulitprecision test with C++03 and C++11
- adding the new API macros in the boost.mulitprecision test
2015-03-23 14:16:56 +01:00
Gennadiy Rozental
88f63abd2e ENABLE new test tools
fix few leftovers from implementation of new FPV comparisons
restore test case in test_fp_comparisons.cpp
2015-03-23 10:24:10 +01:00
Gennadiy Rozental
8a015db580 ENABLE new test tools
fix few leftovers from implementation of new FPV comparisons
restore test case in test_fp_comparisons.cpp
2015-03-23 04:52:43 -04:00
Raffi Enficiaud
daf74669a8 some doc 2015-03-20 15:38:59 +01:00
Raffi Enficiaud
948fa4481a const of the elements of the table 2015-03-20 15:34:40 +01:00
Raffi Enficiaud
a973700732 Trying to fix the array problem on Clang 3.4 2015-03-20 15:26:43 +01:00
Raffi Enficiaud
bb2898d632 MSVC-12 fix 2015-03-19 13:45:26 +01:00
Raffi Enficiaud
485028be7a making specialization of result_of::make for the C++03 version of operator+ on datasets. 2015-03-19 13:39:23 +01:00
Raffi Enficiaud
0d96ed0362 second thought: tables are not forward iterable concept 2015-03-19 12:04:27 +01:00
Raffi Enficiaud
f8ee05accb is_forward_iterable for fixed size arrays 2015-03-19 11:50:27 +01:00
Raffi Enficiaud
b90d1738ec blind fix for MSVC-8.0 2015-03-19 10:35:13 +01:00
Raffi Enficiaud
a6f3d88f2c fix "could not deduce template parameter" error on MSVC12 2015-03-19 10:18:26 +01:00
Raffi Enficiaud
0f34822448 Merge branch 'tractickets/11054-multiprecision_test_fixes-doc' into develop
* tractickets/11054-multiprecision_test_fixes-doc:
  Adding a test case for the floating points in multiprecision
  changelog
  close_at_tolerance : getting rid of redundant lines
  casting for compliance with multiprecision expression templates
  messages with the assertions
2015-03-18 23:36:59 +01:00
Raffi Enficiaud
79f9754078 close_at_tolerance : getting rid of redundant lines 2015-03-17 13:40:02 +01:00
Raffi Enficiaud
69439f53cd casting for compliance with multiprecision expression templates 2015-03-17 13:36:45 +01:00
Raffi Enficiaud
58622e28c8 messages with the assertions 2015-03-17 13:31:23 +01:00
Raffi Enficiaud
54b8f0970a fixing the warnings from the logs (thanks Jürgen) 2015-03-16 23:44:18 +01:00
Raffi Enficiaud
3824842a18 doxygen cosmetics 2015-01-26 10:08:40 +01:00
Raffi Enficiaud
1a72ac2680 Reverting the merge ef4fb45163 from the branch tractickets/7397 2015-01-14 20:50:33 +01:00
jamie
d442454b21 Remove --suppress_timer_output. Update test rules to allow passing arguments 2015-01-12 12:19:38 +00:00
jamie
6d5fdb93a2 Update has_time() to take into consideration --deprecated_timer_format 2015-01-12 11:57:37 +00:00
jamie
ab760e7c0f Merge remote-tracking branch 'upstream/develop' into ticket_7397 2015-01-11 15:49:13 +00:00
jamie
c53deefca8 Add suppress_timer_output option to allow pattern matching of test output 2015-01-11 15:49:04 +00:00
Andrzej Krzemieński
27d0387c1c Doc: typeo sould --> should 2015-01-09 22:37:53 +01:00
Raffi Enficiaud
a6a839043e Some more doxygen documentation 2015-01-09 00:49:23 +01:00
jamie
f06e9c770b Merge branch 'develop' into ticket_7397 and resolve conflicts 2015-01-07 19:16:04 +00:00
jamie
729e346cbd Replace BOOST_TEST_USE_DEPRECATED_TIMER macro with --deprecated_timer_format
Remove the macro BOOST_TEST_USE_DEPRECATED_TIMER and replace it with a
runtime cla --deprecated_timer_format. Additionally change <TestingTime>
to write the testing time in microseconds and add <CpuTime> giving the
time in nanoseconds. Existing scripts and parsers that handle the XML
output should not be affected by this change.
2015-01-07 18:54:12 +00:00
Raffi Enficiaud
28df9d5c9f ras 2015-01-07 00:25:00 +01:00
Raffi Enficiaud
888372e7f8 Doxygen is really broken 2015-01-06 14:51:30 +01:00
Raffi Enficiaud
4a4c198a90 A little more doxygen 2015-01-06 02:54:52 +01:00
Raffi Enficiaud
15d51fb46f Updating the example 64 for grids 2015-01-06 00:35:16 +01:00