Commit Graph

25 Commits

Author SHA1 Message Date
Daryle Walker
16d0b949ee Removed requirement of mixed-mode division in rational_cast; added test where the requirement's removal was needed; demonstrated limited cross-version rational casting
[SVN r35859]
2006-11-05 19:07:24 +00:00
Daryle Walker
6a0cb40840 Added testing of zero-valued denominators and divisors
[SVN r35854]
2006-11-05 17:14:14 +00:00
Daryle Walker
585171bfc7 Solved patch #1438626 by depreciating 'gcd' and 'lcm' provided in namespace 'boost' in 'rational.hpp', replaced by the ones in Boost.Math; fored to add 'std::numeric_limits' compatibility as a requirement; started doing invariant checks
[SVN r35843]
2006-11-04 21:11:15 +00:00
Daryle Walker
b4391f39ed Realized that integer comparison algorithm change from previous commit also fixed patch #1434821
[SVN r35811]
2006-11-02 15:55:00 +00:00
Daryle Walker
4c87ccd627 Changed rational comparison algorithm to avoid overflow and fix bug #798357; changed integer comparison algorithm to match
[SVN r35800]
2006-10-31 15:30:22 +00:00
Joaquín M. López Muñoz
e97f6a299a various fixes for old compilers
[SVN r35654]
2006-10-18 12:47:52 +00:00
Daryle Walker
2bb9f1af57 Hopefully fixed regression test warnings and errors.
[SVN r32227]
2006-01-05 13:31:24 +00:00
Daryle Walker
d0ec97c358 Added a Boolean conversion operator to boost::rational<>.
[SVN r32167]
2005-12-27 11:38:28 +00:00
Daryle Walker
16f7288453 Moved the non-support testing items to outside the file-private namespace.
[SVN r32160]
2005-12-24 20:57:14 +00:00
Daryle Walker
37b9d4f1a5 Rearranged headers; updated standard header list to what's actually referenced.
[SVN r32156]
2005-12-24 20:09:14 +00:00
Daryle Walker
d1bc0de447 Split the basic test suite function template into several function templates, one for each category.
[SVN r32155]
2005-12-24 19:53:02 +00:00
Daryle Walker
f007e39af5 Moved common variables to fixture; replaced macro-based fixture inner-types with a class template; changed basic test suite from test function to a test suite surrounding a test function template.
[SVN r32151]
2005-12-24 19:05:49 +00:00
Daryle Walker
f48c36e6e7 Started using the internal MyInt type; started transition away from macro-controlled type usage to exhaustively trying all allowed types with templated unit tests.
[SVN r32150]
2005-12-24 12:12:21 +00:00
Daryle Walker
2d9f173aaf Changed a test with 'double' from equality to closeness.
[SVN r32149]
2005-12-24 09:54:33 +00:00
Daryle Walker
87ebc87f38 Moved test sections that do not need common variables to separate unit tests, grouped in suites.
[SVN r32148]
2005-12-24 09:48:38 +00:00
Daryle Walker
a0334dd375 Started moving common test settings to a fixture
[SVN r32147]
2005-12-24 08:31:08 +00:00
Daryle Walker
77e0107cef Changed individual checks from using a custom macro to using macros from Boost.Test.
[SVN r32146]
2005-12-24 08:14:08 +00:00
Daryle Walker
2a28e2dc25 Mandated use of C++ modern string streams
[SVN r32144]
2005-12-24 01:58:49 +00:00
Daryle Walker
c3458cce8f Removed secondary parts of the old custom testing code; moved the printing of a size check to a global fixture. Part of Boost.Preprocessor is now used.
[SVN r32143]
2005-12-24 01:52:39 +00:00
Daryle Walker
6ffbdc951b Did minimal modifications to make Boost.Rational use Boost.Test for testing.
[SVN r32142]
2005-12-24 00:16:43 +00:00
Dave Abrahams
16acf13b51 applied patch from Paul Moore
[SVN r12879]
2002-02-21 16:31:54 +00:00
Beman Dawes
55d4d00158 Self-operations fixes from Paul Moore, reported by Vesa Karvonen
[SVN r12851]
2002-02-18 01:18:31 +00:00
Dave Abrahams
413838e70b Patches for Intel C++ and GCC
[SVN r9422]
2001-03-04 16:05:21 +00:00
Jens Maurer
e784a748b2 replace _MSC_VER by BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
[SVN r9012]
2001-02-07 20:51:25 +00:00
Jens Maurer
2163afef5c major overhaul by Paul Moore
[SVN r8950]
2001-02-05 21:33:36 +00:00