Commit Graph

3194 Commits

Author SHA1 Message Date
Gennadiy Rozental
e69cd835eb spaces 2015-05-28 02:30:03 -04:00
Raffi Enficiaud
36dc6a9622 Refactoring entry documentation and assertion severity levels 2015-05-27 17:12:04 +02:00
Raffi Enficiaud
b1e4140119 Additional links 2015-05-27 13:52:53 +02:00
Raffi Enficiaud
8abfb00918 about statements and acceptable expressions. Should be merged with the BOOST_TEST page 2015-05-27 13:49:13 +02:00
Raffi Enficiaud
c187025740 some boost_test rewrite 2015-05-27 13:48:43 +02:00
Raffi Enficiaud
f3c8d2e323 Updating the dusty README file 2015-05-27 13:25:35 +02:00
Raffi Enficiaud
0dcc3a7339 Feedback from Paul A. Bristow about BOOST_TEST(true && true) 2015-05-27 13:17:33 +02:00
Raffi Enficiaud
dae2b8eaa2 Little more on the reported information 2015-05-27 13:11:02 +02:00
Raffi Enficiaud
89393bf61c Copyright changes 2015-05-27 13:06:52 +02:00
Raffi Enficiaud
cd4bb00fcc Weird English on assertion security levels 2015-05-27 13:04:29 +02:00
Raffi Enficiaud
7310274bdd more on the changelog 2015-05-27 12:04:43 +02:00
Raffi Enficiaud
420b4accd4 Mentioning the other flavours of BOOST_TEST on the reference/summary page 2015-05-27 12:04:41 +02:00
Andrzej Krzemienski
817ac936c9 Don't use std::numeric_limits when is_specialized is false
Prior to this change, in floating-point computations, in the case
where we work for types where std::numeric_limits are not specialized,
funcitons min() and max() from std::numeric_limits<FPT> are nonetheless
instantiated and return FPT(0). While the result is never used in run-time,
this may still trigger a compile-time failure.

After this change, the paths for the cases where std::numeric_limits are not
specialized are handled by separate specializations rather than run-time if
statements.
2015-05-26 23:03:11 +02:00
akumta
836403474f Update test_case.hpp
Possible solution for #11347.
2015-05-26 11:58:55 -07:00
akumta
13343b7f06 Update fwd.hpp
Possible solution for #11347.
2015-05-26 11:14:04 -07:00
Raffi Enficiaud
e9f77a93b1 mks -> us (microseconds) 2015-05-26 13:55:48 +02:00
Raffi Enficiaud
4d3e36bed5 typo 2015-05-26 11:46:31 +02:00
Andrzej Krzemieński
a30b08ff1c v * FTP(0.01) --> v / 100
Rationale:
Because we are not using the literal of type double, we avoid the bug where `FTP(0.01)` is evaluated as `FTP(int(0.01))` for FPT types that do not offer a conversion from `double`.
I do not use an explicit cast `v / FPT(100)` in order to allow the compiler to see that we are dividing by the integer, and engage optimizations for that case, if any.
By `v / 100` I require that conversion from int to FPT is implicit, and thereby avoid executing explicit constructors, which may have non-conversion semantics.
To the best of my knowledge, `v / 100` is not less accurate than `v * 0.01`. It may be slower, but given that this is evaluated in BOOST_TEST, which does lots of ops on IO streams, this should be negligible; plus, we are affecting only a percentage tolerance manipulator -- not the floating-point comparison itself.
2015-05-26 10:31:24 +02:00
Raffi Enficiaud
ee939357e4 Fix links 2015-05-26 06:41:35 +02:00
Gennadiy Rozental
1c4e5dcea6 Merge pull request #65 from akrzemi1/develop
FPT() --> FPT(0)bb
2015-05-25 16:18:37 -04:00
Gennadiy Rozental
4dd5720db6 move FPC theory under "theory" subsection of FPC description 2015-05-25 16:13:21 -04:00
Andrzej Krzemienski
757aa2aa02 FP comparisons do not use default constructor
Changed the occurences of FPT() to FPT(0). Since we expect a construction from int anyway,
and since the previous implementation assumed that the default constructor initializes to
numeric vaue zero, the change appears uncontroversial. What we gain, is that the default
ctor is no longer required. The FP algos work for non-default-constructible types.
2015-05-25 22:09:48 +02:00
Andrzej Krzemienski
89871800b9 Doc: removed backslash in decorator_01.output 2015-05-25 21:32:56 +02:00
Gennadiy Rozental
d4ad280e7b . 2015-05-25 15:32:32 -04:00
Gennadiy Rozental
b54597c6b8 . 2015-05-25 15:31:01 -04:00
Raffi Enficiaud
6825c30039 Dead link on the Fibonacci example. To be ressurrected in another form 2015-05-25 15:19:43 +02:00
Raffi Enficiaud
4b5f371e19 web link: output format 2015-05-25 15:16:21 +02:00
Raffi Enficiaud
f17a8b1386 oudated? 2015-05-25 15:15:15 +02:00
Raffi Enficiaud
8c91c1d8d9 webwisdom warning 2015-05-25 15:14:08 +02:00
Gennadiy Rozental
cfa7ee3df7 fixture updated 2015-05-25 04:07:44 -04:00
Gennadiy Rozental
75515e8100 decorators updated 2015-05-25 02:46:06 -04:00
Gennadiy Rozental
d15f4c4f52 interaction based testing is killed (for now) 2015-05-24 18:40:56 -04:00
Raffi Enficiaud
4b4becd77a Fixing --link= to link= 2015-05-24 21:46:44 +02:00
Raffi Enficiaud
0b43284ed8 removed unexplainable mention 2015-05-24 17:11:38 +02:00
Gennadiy Rozental
6c6769ae71 nullary test case documentation update; web wisdom page added 2015-05-24 05:58:57 -04:00
Gennadiy Rozental
e8e20defe9 improved flip side description for static lib 2015-05-24 02:43:01 -04:00
Gennadiy Rozental
d264b4b6f1 fixed test unit ordering with finally correct algo 2015-05-24 02:28:40 -04:00
Raffi Enficiaud
dfdfbb6f44 fix link 2015-05-23 23:33:16 +02:00
Raffi Enficiaud
5b0c4a64e6 Merge pull request #64 from akrzemi1/develop
Doc: more on test case ordering
2015-05-23 10:15:32 +02:00
Gennadiy Rozental
bec860b3d9 decorator description slightly updated; examples fixed 2015-05-23 02:07:50 -04:00
Gennadiy Rozental
1a3893dae0 eliminated BOOST_CHECK on context description page; normalized all examples output to test.cpp(nn): 2015-05-23 01:16:39 -04:00
Gennadiy Rozental
8716300874 typo 2015-05-23 00:36:44 -04:00
Gennadiy Rozental
ca5e4f3328 copyright updated to "year" Boost.Test team 2015-05-23 00:34:24 -04:00
Gennadiy Rozental
e80d648e9c super = 2015-05-23 00:07:30 -04:00
Gennadiy Rozental
52ff1e77f7 intro/tutorials update 2015-05-22 23:09:46 -04:00
Andrzej Krzemienski
2120d8bbae Doc: more on test case ordering 2015-05-22 22:32:08 +02:00
Raffi Enficiaud
6d72d13800 Merge branch 'develop' of http://github.com/boostorg/test into develop 2015-05-22 20:09:29 +02:00
Raffi Enficiaud
5a4563b639 Merge pull request #63 from akrzemi1/develop
Doc: simpler introduction
2015-05-22 20:08:36 +02:00
Andrzej Krzemienski
2266d872f5 Doc: simpler introduction
THe Introduction is now shorter. I removed one tutorial (it is in a non-included qbk file), and moved another one into Practical Usage Recommendations.
2015-05-22 18:06:46 +02:00
Raffi Enficiaud
9fbce934b0 Grouping specific comparison methods together
Attempt for reporting refactoring
2015-05-22 17:29:38 +02:00