Commit Graph

  • e09e3f1e06 In hash_fwd_test avoid a Borland bug by putting the test classes in a namespace. Seems to break on gcc 2.95 though... Daniel James 2006-02-07 00:48:58 +00:00
  • 691437839e Add an extra test for a Borland bug I found. Daniel James 2006-02-07 00:45:32 +00:00
  • d8328a403c Attempt to get container_fwd.hpp working on more compilers. Daniel James 2006-02-07 00:43:06 +00:00
  • 946a362d56 In hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated. Daniel James 2006-02-05 19:54:08 +00:00
  • 81483cc533 Move the float hash function into its own header. Daniel James 2006-02-05 19:51:29 +00:00
  • b922722090 Use BOOST_WORKAROUND in boost/functional/hash/hash.hpp Daniel James 2006-02-05 16:31:45 +00:00
  • da55a4fcca Use hash_fwd.hpp in the main hash header. Daniel James 2006-02-05 16:27:19 +00:00
  • e78d662c7a Add tests for the hash forward header. Daniel James 2006-02-05 16:06:31 +00:00
  • 1f2c6bfaba Add a forward header for the hash functions. Daniel James 2006-02-05 16:03:43 +00:00
  • 79b5aa7a2e Fix a parse error in the hash test Jamfile. Daniel James 2006-02-05 15:56:47 +00:00
  • ed548575d4 Use container_fwd.hpp for the hash functions. Daniel James 2006-02-05 14:44:24 +00:00
  • af88f13aca Add pair to container_fwd_test. Daniel James 2006-02-05 14:11:59 +00:00
  • 1ff1366c5e Add std::pair, and a GCC 2.95 workaround to container_fwd.hpp Daniel James 2006-02-05 14:04:56 +00:00
  • a5d18ba409 Add copyright to container_fwd_test. Daniel James 2006-02-05 14:02:28 +00:00
  • f9a050b68e Make the functions static in container_fwd_test. Daniel James 2006-02-05 14:00:23 +00:00
  • a9144ed80b Add a missing include to a functional/hash test header. Daniel James 2006-02-05 13:59:03 +00:00
  • 4ed4e4760b Tidy up functional/hash's Jamfile a little. Daniel James 2006-02-05 13:58:06 +00:00
  • 332201e5c8 Change container_fwd.hpp to cooperate with gcc stdlib++'s debug mode. Daniel James 2005-12-16 19:14:16 +00:00
  • e225ed8f14 Fix a build error in the hash tests. Daniel James 2005-12-15 18:00:47 +00:00
  • 11170a916b Quick & dirty update of hash tests for new version of Boost.Test Daniel James 2005-12-15 00:27:53 +00:00
  • 26f4b6cd55 More epsilon hash float tests. Daniel James 2005-12-15 00:22:00 +00:00
  • 6f61ab5b0b Fix clumsy mistakes in the epsilon hash test. Daniel James 2005-12-04 20:08:10 +00:00
  • 1ec297d8d4 Test for hashing 1+epsilon, following recent boost-dev comments on Darwin gcc-4.0's long double. Daniel James 2005-12-04 20:02:08 +00:00
  • 906b14102d Return 0 from test, for the benefit of Visual C++ 6. Daniel James 2005-10-05 20:52:00 +00:00
  • cffede428b Fix the link to the book example in the hash source documentation. boost-1.33.1-beta1 boost-1.33.1 Daniel James 2005-09-30 07:40:08 +00:00
  • 803b01c8c8 Add test for char_traits in container_fwd.hpp Daniel James 2005-09-27 19:46:04 +00:00
  • 016766fdec Add char_traits support to the container_fwd header. Daniel James 2005-09-27 19:45:04 +00:00
  • b70f0b3aab Add tests for container_fwd to hash tests. Daniel James 2005-09-19 20:39:57 +00:00
  • bb16ae385a Add STL forward declarations for the hash library (just for testing, not in use yet) Daniel James 2005-09-19 20:29:51 +00:00
  • f5cbe3661c Merge in Markus' workaround for Tru64/CXX std::numeric_limits::denorm_min() bug from RC_1_33_0. Daniel James 2005-09-19 18:25:30 +00:00
  • 29dce84d74 Workaround for Tru64/CXX std::numeric_limits::denorm_min() bug. Markus Schöpflin 2005-09-19 09:06:28 +00:00
  • 9158f88562 Large patch from Ulrich Eckhardt to fix support for EVC++ 4. John Maddock 2005-08-25 16:27:28 +00:00
  • eb20117301 Return 0 from int main() in the hash examples. Daniel James 2005-08-22 19:16:47 +00:00
  • 379105280f Change the hash-test rule to work with multiple source files. Daniel James 2005-08-21 14:54:52 +00:00
  • 1df9014b94 Add hash examples to the unit tests. Daniel James 2005-08-21 11:40:06 +00:00
  • 30bc59df59 Add Jamfiles for testing hash examples. Daniel James 2005-08-21 11:22:29 +00:00
  • b2c5ed9adf Merge in fix to hash example/documentation from 1.33 branch. Daniel James 2005-08-20 20:44:23 +00:00
  • 6a591695b2 Fixed stupid error in hash point example. Daniel James 2005-08-20 20:39:21 +00:00
  • 9a63dd6667 Revert a mistake in the previous commit of the hash documentation. Daniel James 2005-08-04 22:44:34 +00:00
  • 5e713acaef Update hash links page to more recent versions of the papers. Daniel James 2005-08-04 22:39:41 +00:00
  • bc9ab80b9f Fix broken link in hash documentation source. Daniel James 2005-08-04 22:16:22 +00:00
  • dedb3ba27b Fixed some of the include statements in the documentation. Daniel James 2005-08-04 17:39:42 +00:00
  • 1cea89464b Add tests for linking two object files that include the hash libraries. boost-1.33.0 Daniel James 2005-06-20 21:45:54 +00:00
  • 74ec71fe8d Check errno after calling frexp - this is pretty slow and unecessary on most platforms, but this close to release it seems better to be over cautious. Daniel James 2005-05-28 12:10:33 +00:00
  • 8090093f06 Initialise the exponent before calling frexp in the hash float function. Daniel James 2005-05-26 07:36:26 +00:00
  • 16b4e4b261 Fix a typo in hash_float_test. Daniel James 2005-05-21 17:15:10 +00:00
  • bbf337598b Tweak the hash tests a bit more. Daniel James 2005-05-21 17:10:39 +00:00
  • 386d46aff0 Write a better error message when the denormalised minimum float hash test fails. Daniel James 2005-05-21 16:46:53 +00:00
  • 8b483e7d86 Try to make sure that the different functions in hash_function_pointer_test really are different. Daniel James 2005-05-11 21:32:17 +00:00
  • 177884e8a3 Try to fix the failing denorm_min hash_value test by explicitly casting the result of denorm_min() (I think it might be returning the wrong type). Daniel James 2005-05-01 13:43:56 +00:00
  • 7e6b470009 Change the description of functional/hash. Daniel James 2005-04-23 13:07:27 +00:00
  • f2a59837b0 Add some links to the hash documentation, acknowledgements for the review, fixed some errors. Daniel James 2005-04-22 22:08:49 +00:00
  • 78b6d8731e Fix a clumsy mistake in hash_float_test Daniel James 2005-04-22 06:37:41 +00:00
  • 7c2f3b6bf5 Change hash_custom_test to have a cleaner implementation (along the lines of Peter Dimov's suggestion) and to only include the hash headers after declaring the class. Daniel James 2005-04-21 23:43:51 +00:00
  • dd93c7c9a4 Change hash_float_test to write out some false failures instead of failing. Daniel James 2005-04-21 23:41:12 +00:00
  • 7092068156 Another attempt at getting the hash array tests to pass on Borland. Daniel James 2005-04-21 22:20:43 +00:00
  • 572ec155db Split the hash pointer tests into tests for normal pointers and function pointers, as function pointers fail on old versions of Visual C++, and add a note about this to the hash documentaion. Daniel James 2005-04-21 22:18:38 +00:00
  • 9a96585cb9 Update hash documentation: Daniel James 2005-04-21 08:44:14 +00:00
  • dbcb234320 Various changes to the hash documentation including: Daniel James 2005-04-20 15:16:29 +00:00
  • 412ec29987 Change the books hash example to have a separate header. Daniel James 2005-04-20 15:02:00 +00:00
  • d8eb578ae5 Add redirect for the hash documentation. Daniel James 2005-04-20 14:58:43 +00:00
  • 1cf16e51b9 Change the NaN hash test to a warning. Daniel James 2005-04-18 17:16:02 +00:00
  • 91dfc92b0e Don't bother testing the hash functions with infinity and NaN on borland. Remove a few pointless lines from hash_value_array_test. Daniel James 2005-04-17 09:12:01 +00:00
  • f2afc2a08d Another fix for the Borland hash array code, and get rid of my attempt at working around Borland problems with infinity and NaN in the hash float functions. It seems impossible to do anything with them. Daniel James 2005-04-17 09:09:42 +00:00
  • 7223c8da60 Remove workaround for bug in gcc 4.0 which appears to have been fixed. Daniel James 2005-04-16 16:59:30 +00:00
  • 0fae4b4f65 Add tests against Peter's spec. Daniel James 2005-04-16 16:56:27 +00:00
  • 72cd8cdaa1 Overload hash_value for non-constant arrays. Daniel James 2005-04-16 10:32:29 +00:00
  • 43e79383ae Add a test for hash_value called with an array. hash_value tests for other types will be added to their normal tests. Daniel James 2005-04-16 10:31:20 +00:00
  • dbed5ebafa Use non-const references on Visual C++ 6.5 to work around a bug with array references. Daniel James 2005-04-13 22:56:43 +00:00
  • 976683836e Borland workaround for hashing arrays. Daniel James 2005-04-13 20:24:50 +00:00
  • 9cd9c5780f Remove the forced fail in the hash float tests on Borland, since the bug should now be fixed. Daniel James 2005-04-12 20:25:15 +00:00
  • be1be0d1fe Deal with NaN & infinity in the hash float function on Broland. Daniel James 2005-04-12 20:23:09 +00:00
  • 557e8e7ff9 Add some hash examples. Daniel James 2005-04-11 22:26:01 +00:00
  • 0a43718366 Setup hash float function config for Tru64 on alpha and add some comments on the different libraries & compilers. Daniel James 2005-04-11 22:20:33 +00:00
  • 8c8baeedd8 Make the float hash tests a tad bit more informative. Daniel James 2005-04-11 22:14:26 +00:00
  • 763e59741a Add the hash documentation. Daniel James 2005-04-11 22:07:45 +00:00
  • 8b08528611 Better version of the built in array hash function. Daniel James 2005-04-10 20:07:50 +00:00
  • 18b3a53699 Remove the empty array hash function test. Daniel James 2005-04-10 19:21:38 +00:00
  • a267ab6a2c Drop the empty array test. Daniel James 2005-04-10 19:19:59 +00:00
  • 477004a45d Add the unit tests for hashing built in arrays. Daniel James 2005-04-10 12:38:58 +00:00
  • 15d97d95e7 Implement hash functions for built-in arrays. Uses partial specialization instead of function overloading - which disobeys the specification of the extension (hash_combine is defined in terms of hash_value, but hash_value doesn't deal with every case now). Daniel James 2005-04-10 12:36:24 +00:00
  • 1d10a0f323 Use static assert instead of mpl assert in the hash tests, as it's more portable. Daniel James 2005-04-09 09:30:27 +00:00
  • 5e9f0e4c8e Use the named variants of the float functions for stlport on gcc-2.95. Daniel James 2005-04-09 09:27:20 +00:00
  • 896e07cca7 Implement the compile time checks for hash functions as a function instead of a templated class. Hopefully it will work on more compilers. Daniel James 2005-04-07 22:14:02 +00:00
  • e24a93d8c6 Change tests so they can be used to test implementations of TR1 (maybe, eventually). Daniel James 2005-04-07 21:57:22 +00:00
  • 50e6bad2fd Remove the Boost.Range overloads of hash_range. Daniel James 2005-04-07 21:08:58 +00:00
  • d252ee760d Removes hash_range_test.cpp's dependency on Boost.Range, which isn't currently working on Borland. Daniel James 2005-04-07 21:07:14 +00:00
  • 2d91127422 Removes uses of BOOST_CHECK_EQUAL from the hash tests as they don't work on Borland. Daniel James 2005-04-07 20:53:20 +00:00
  • a65dc47fcb Change the hash float config for Rogue Wave so that it only applies to Borland, as it seems to be wrong on SunPro. Daniel James 2005-04-06 22:52:25 +00:00
  • 3d0a7a34dd Fix a bug in the float hash test - checking that infinity & -infinity hash to the same value. The hash function is actually working better on the compilers that were failing this test. Daniel James 2005-04-06 22:27:45 +00:00
  • d305aad29d Fix the 'DEPENDS all' line in the hash test Jamfile. Daniel James 2005-04-04 16:54:22 +00:00
  • 52750a193d Rename test suite to functional/hash Daniel James 2005-04-02 00:03:17 +00:00
  • f3d016cf6d Stop using Boost.Assign in tests as it currently doesn't work on all the compilers I want to support. A pity, but I was already making very limited use of it because of older compilers. Daniel James 2005-04-01 22:50:26 +00:00
  • 733ded8185 Stop using 'std::denorm_present' as on many compilers it isn't present itself. Daniel James 2005-04-01 22:49:19 +00:00
  • 0aff6fe1a8 Fully specify custom's namespace for when the ADL workaround is used. Daniel James 2005-04-01 22:47:36 +00:00
  • 27d6247dac Include config files before any other header to prevent Visual C++ 6 warnings. Daniel James 2005-04-01 22:38:39 +00:00
  • 8bfc36b94d Add the boost::hash unit tests. Daniel James 2005-04-01 16:58:09 +00:00
  • 2b375867f5 Initial import of hash function headers - so that they can be used by Boost.MultiIndex. Daniel James 2005-03-27 22:58:52 +00:00
  • e33014efa1 This commit was manufactured by cvs2svn to create branch 'boost-graph-library'. boost-1.17.0 nobody 2000-09-09 10:20:25 +00:00
  • c47f309991 1.16.1 initial CVS checkin boost-1.16.1 Beman Dawes 2000-07-07 16:04:40 +00:00