1# Boost algorithm library test suite Jamfile ---------------------------- 2# 3# Copyright Marshall Clow 2010-2012. Use, modification and 4# distribution is subject to the Boost Software License, Version 5# 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6# http://www.boost.org/LICENSE_1_0.txt) 7# 8# See http://www.boost.org for updates, documentation, and revision history. 9 10import testing ; 11 12alias unit_test_framework 13 : # sources 14 /boost//unit_test_framework 15 ; 16 17 18{ 19 test-suite algorithm 20# Search tests 21 : [ run empty_search_test.cpp unit_test_framework : : : : empty_search_test ] 22 [ run search_test1.cpp unit_test_framework : : : : search_test1 ] 23 [ run search_test2.cpp unit_test_framework : : : : search_test2 ] 24 [ run search_test3.cpp unit_test_framework : : : : search_test3 ] 25 [ run search_test4.cpp unit_test_framework : : : : search_test4 ] 26 [ compile-fail search_fail1.cpp : : : : ] 27 [ compile-fail search_fail2.cpp : : : : ] 28 [ compile-fail search_fail3.cpp : : : : ] 29 30# Misc tests 31 [ run clamp_test.cpp unit_test_framework : : : : clamp_test ] 32 [ run power_test.cpp unit_test_framework : : : : power_test ] 33 [ compile-fail power_fail1.cpp : : : : ] 34 35# Cxx11 tests 36 [ run all_of_test.cpp unit_test_framework : : : : all_of_test ] 37 [ run any_of_test.cpp unit_test_framework : : : : any_of_test ] 38 [ run none_of_test.cpp unit_test_framework : : : : none_of_test ] 39 [ run one_of_test.cpp unit_test_framework : : : : one_of_test ] 40 41 [ run ordered_test.cpp unit_test_framework : : : : ordered_test ] 42 [ run find_if_not_test1.cpp unit_test_framework : : : : find_if_not_test1 ] 43 [ run copy_if_test1.cpp unit_test_framework : : : : copy_if_test1 ] 44 [ run copy_n_test1.cpp unit_test_framework : : : : copy_n_test1 ] 45 [ run iota_test1.cpp unit_test_framework : : : : iota_test1 ] 46 47 [ run is_permutation_test1.cpp unit_test_framework : : : : is_permutation_test1 ] 48 [ run partition_point_test1.cpp unit_test_framework : : : : partition_point_test1 ] 49 [ run is_partitioned_test1.cpp unit_test_framework : : : : is_partitioned_test1 ] 50 [ run partition_copy_test1.cpp unit_test_framework : : : : partition_copy_test1 ] 51 52# Cxx14 tests 53 [ run equal_test.cpp unit_test_framework : : : : equal_test ] 54 [ run mismatch_test.cpp unit_test_framework : : : : mismatch_test ] 55 56# Cxx17 tests 57 [ run for_each_n_test.cpp unit_test_framework : : : : for_each_n_test ] 58 [ run reduce_test.cpp unit_test_framework : : : : reduce_test ] 59 [ run transform_reduce_test.cpp unit_test_framework : : : : transform_reduce_test ] 60 [ run inclusive_scan_test.cpp unit_test_framework : : : : inclusive_scan_test ] 61 [ run exclusive_scan_test.cpp unit_test_framework : : : : exclusive_scan_test ] 62 [ run transform_inclusive_scan_test.cpp unit_test_framework : : : : transform_inclusive_scan_test ] 63 [ run transform_exclusive_scan_test.cpp unit_test_framework : : : : transform_exclusive_scan_test ] 64# Maybe GCD and LCM as well 65 66# Hex tests 67 [ run hex_test1.cpp unit_test_framework : : : : hex_test1 ] 68 [ run hex_test2.cpp unit_test_framework : : : : hex_test2 ] 69 [ run hex_test3.cpp unit_test_framework : : : : hex_test3 ] 70 [ run hex_test4.cpp unit_test_framework : : : : hex_test4 ] 71 [ compile-fail hex_fail1.cpp ] 72 73# Gather tests 74 [ run gather_test1.cpp unit_test_framework : : : : gather_test1 ] 75 [ compile-fail gather_fail1.cpp ] 76 77# SortSubrange tests 78 [ run sort_subrange_test.cpp unit_test_framework : : : : sort_subrange_test ] 79 [ run partition_subrange_test.cpp unit_test_framework : : : : partition_subrange_test ] 80 81# Is_palindrome tests 82 [ run is_palindrome_test.cpp unit_test_framework : : : : is_palindrome_test ] 83 84# Is_partitioned_until tests 85 [ run is_partitioned_until_test.cpp unit_test_framework : : : : is_partitioned_until_test ] 86 87# Apply_permutation tests 88 [ run apply_permutation_test.cpp unit_test_framework : : : : apply_permutation_test ] 89# Find tests 90 [ run find_not_test.cpp unit_test_framework : : : : find_not_test ] 91 [ run find_backward_test.cpp unit_test_framework : : : : find_backward_test ] 92 ; 93} 94 95