tests.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.1 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  5. <title>Boost.MultiIndex Documentation - Tests</title>
  6. <link rel="stylesheet" href="style.css" type="text/css">
  7. <link rel="start" href="index.html">
  8. <link rel="prev" href="examples.html">
  9. <link rel="up" href="index.html">
  10. <link rel="next" href="future_work.html">
  11. </head>
  12. <body>
  13. <h1><img src="../../../boost.png" alt="boost.png (6897 bytes)" align=
  14. "middle" width="277" height="86">Boost.MultiIndex Tests</h1>
  15. <div class="prev_link"><a href="examples.html"><img src="prev.gif" alt="examples" border="0"><br>
  16. Examples
  17. </a></div>
  18. <div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br>
  19. Index
  20. </a></div>
  21. <div class="next_link"><a href="future_work.html"><img src="next.gif" alt="future work" border="0"><br>
  22. Future work
  23. </a></div><br clear="all" style="clear: all;">
  24. <hr>
  25. <p>
  26. The Boost.MultiIndex test suite exercises the whole spectrum of
  27. functionalities provided by the library. Although the tests are not meant
  28. to serve as a learning guide, the interested reader may find it
  29. useful to inspect the source code to gain familiarity
  30. with some of the least common features offered by Boost.MultiIndex.
  31. </p>
  32. <p align="center">
  33. <table cellspacing="0" cellpadding="5">
  34. <caption><b>Boost.MultiIndex test suite.</b></caption>
  35. <tr>
  36. <th>Program</th>
  37. <th>Description</th>
  38. </tr>
  39. <tr>
  40. <td><a href="../test/test_basic.cpp"><code>test_basic.cpp</code></a></td>
  41. <td>Simple program along the lines of the employees example studied in the
  42. tutorial.</td>
  43. </tr>
  44. <tr class="odd_tr">
  45. <td><a href="../test/test_capacity.cpp"><code>test_capacity.cpp</code></a></td>
  46. <td><code>empty</code>, <code>size</code>, <code>resize</code>
  47. (non key-based indices) and <code>reserve</code>/<code>capacity</code>
  48. (random access indices only).</td>
  49. </tr>
  50. <tr>
  51. <td><a href="../test/test_comparison.cpp"><code>test_comparison.cpp</code></a></td>
  52. <td>Comparison between indices.</td>
  53. </tr>
  54. <tr class="odd_tr">
  55. <td><a href="../test/test_composite_key.cpp"><code>test_composite_key.cpp</code></a></td>
  56. <td><code>composite_key</code> and <code>composite_key_compare</code>.</td>
  57. </tr>
  58. <tr>
  59. <td><a href="../test/test_conv_iterators.cpp"><code>test_conv_iterators.cpp</code></a></td>
  60. <td>Checks convertibility of non-constant to constant iterators.</td>
  61. </tr>
  62. <tr class="odd_tr">
  63. <td><a href="../test/test_copy_assignment.cpp"><code>test_copy_assignment.cpp</code></a></td>
  64. <td>Various forms of assignment: copy, <code>operator =</code>, insertion,
  65. (non key-based indices only) <code>assign</code> .
  66. </tr>
  67. <tr>
  68. <td><a href="../test/test_hash_ops.cpp"><code>test_hash_ops.cpp</code></a></td>
  69. <td>Hashing operations.</td>
  70. </tr>
  71. <tr class="odd_tr">
  72. <td><a href="../test/test_iterators.cpp"><code>test_iterators.cpp</code></a></td>
  73. <td>Constant and non-constant iterators and their reverse variants.</td>
  74. </tr>
  75. <tr>
  76. <td><a href="../test/test_key.cpp"><code>test_key.cpp</code></a></td>
  77. <td>Terse key specification syntax.</td>
  78. </tr>
  79. <tr class="odd_tr">
  80. <td><a href="../test/test_key_extractors.cpp"><code>test_key_extractors.cpp</code></a></td>
  81. <td>Covers all use cases of key extractors shipped with the library.</td>
  82. </tr>
  83. <tr>
  84. <td><a href="../test/test_list_ops.cpp"><code>test_list_ops.cpp</code></a></td>
  85. <td>List-like operations particular to sequenced and random access indices.</td>
  86. </tr>
  87. <tr class="odd_tr">
  88. <td><a href="../test/test_modifiers.cpp"><code>test_modifiers.cpp</code></a></td>
  89. <td>Checks the family of insertion and erasing operations.</td>
  90. </tr>
  91. <tr>
  92. <td><a href="../test/test_mpl_ops.cpp"><code>test_mpl_ops.cpp</code></a></td>
  93. <td>Metaprogramming manipulations of <code>multi_index_container</code> types.</td>
  94. </tr>
  95. <tr class="odd_tr">
  96. <td><a href="../test/test_observers.cpp"><code>test_observers.cpp</code></a></td>
  97. <td>Checks observer member functions of ordered and hashed indices.</td>
  98. </tr>
  99. <tr>
  100. <td><a href="../test/test_projection.cpp"><code>test_projection.cpp</code></a></td>
  101. <td>Projection of iterators among indices.</td>
  102. </tr>
  103. <tr class="odd_tr">
  104. <td><a href="../test/test_range.cpp"><code>test_range.cpp</code></a></td>
  105. <td>Exercises the <code>range</code> facility (ordered indices only).</td>
  106. </tr>
  107. <tr>
  108. <td><a href="../test/test_rank_ops.cpp"><code>test_rank_ops.cpp</code></a></td>
  109. <td>Specific operations of ranked indices.</td>
  110. </tr>
  111. <tr class="odd_tr">
  112. <td><a href="../test/test_rearrange.cpp"><code>test_rearrange.cpp</code></a></td>
  113. <td>Rearrange functions of sequenced and random access indices.</td>
  114. </tr>
  115. <tr>
  116. <td><a href="../test/test_safe_mode.cpp"><code>test_safe_mode.cpp</code></a></td>
  117. <td>Comprehensive coverage of all conditions checked in safe mode.</td>
  118. </tr>
  119. <tr class="odd_tr">
  120. <td><a href="../test/test_serialization1.cpp"><code>test_serialization1.cpp</code></a><br>
  121. <a href="../test/test_serialization2.cpp"><code>test_serialization2.cpp</code></a><br>
  122. <a href="../test/test_serialization3.cpp"><code>test_serialization3.cpp</code></a></td>
  123. <td>Serialization support.</td>
  124. </tr>
  125. <tr>
  126. <td><a href="../test/test_set_ops.cpp"><code>test_set_ops.cpp</code></a></td>
  127. <td>Set-like operations particular to ordered indices.</td>
  128. </tr>
  129. <tr class="odd_tr">
  130. <td><a href="../test/test_special_set_ops.cpp"><code>test_special_set_ops.cpp</code></a></td>
  131. <td>Checks special lookup operations using compatible sorting criteria.</td>
  132. </tr>
  133. <tr>
  134. <td><a href="../test/test_update.cpp"><code>test_update.cpp</code></a></td>
  135. <td><code>replace</code>, <code>modify</code> and <code>modify_key</code>.</td>
  136. </tr>
  137. </table>
  138. </p>
  139. <hr>
  140. <div class="prev_link"><a href="examples.html"><img src="prev.gif" alt="examples" border="0"><br>
  141. Examples
  142. </a></div>
  143. <div class="up_link"><a href="index.html"><img src="up.gif" alt="index" border="0"><br>
  144. Index
  145. </a></div>
  146. <div class="next_link"><a href="future_work.html"><img src="next.gif" alt="future work" border="0"><br>
  147. Future work
  148. </a></div><br clear="all" style="clear: all;">
  149. <br>
  150. <p>Revised August 17th 2018</p>
  151. <p>&copy; Copyright 2003-2018 Joaqu&iacute;n M L&oacute;pez Mu&ntilde;oz.
  152. Distributed under the Boost Software
  153. License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">
  154. LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
  155. http://www.boost.org/LICENSE_1_0.txt</a>)
  156. </p>
  157. </body>
  158. </html>