int main() { test_basic(); test_capacity(); test_comparison(); test_composite_key(); test_conv_iterators(); test_copy_assignment(); test_hash_ops(); test_iterators(); test_key_extractors(); test_list_ops(); test_modifiers(); test_mpl_ops(); test_observers(); test_projection(); test_range(); test_rank_ops(); test_rearrange(); test_safe_mode(); test_serialization(); test_set_ops(); test_special_set_ops(); test_update(); return boost::report_errors(); }
// run all tests void run_alex_tests() { const int numTests = 6; for (int i = 1; i <= numTests; i++) { list* l = before(); switch(i) { case 1: test_emptyList(l); break; case 2: test_endOfList(l); break; case 3: test_add(l); break; case 4: test_remove(l); break; case 5: test_list_ops(l); break; case 6: test_copy_list_trivial(l); break; } after(l); } }