add bozo_sort

This commit is contained in:
bolero-MURAKAMI 2012-07-25 23:10:01 +09:00
parent a64938fad0
commit 8cd36c14bd
24 changed files with 1322 additions and 8 deletions

View file

@ -54,8 +54,12 @@
#include "./prev_permutation.cpp"
#include "./swap_element.cpp"
#include "./swap_element_copy.cpp"
#include "./random_swap.cpp"
#include "./random_swap_result.cpp"
#include "./bogo_sort.cpp"
#include "./bogo_sort_result.cpp"
#include "./bozo_sort.cpp"
#include "./bozo_sort_result.cpp"
#ifdef TESTSPR_CPP_INCLUDE_DISABLE_SPROUT_LIBS_ALGORITHM_TEST_MODIFYIING_CPP
# undef TESTSPR_CPP_INCLUDE
@ -111,8 +115,12 @@ namespace testspr {
testspr::algorithm_prev_permutation_test();
testspr::algorithm_swap_element_test();
testspr::algorithm_swap_element_copy_test();
testspr::algorithm_random_swap_test();
testspr::algorithm_random_swap_result_test();
testspr::algorithm_bogo_sort_test();
testspr::algorithm_bogo_sort_result_test();
testspr::algorithm_bozo_sort_test();
testspr::algorithm_bozo_sort_result_test();
}
} // namespace testspr