1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-07-02 14:04:09 +00:00

add algorithm clamp, clamp_range_copy, clamp_range

This commit is contained in:
bolero-MURAKAMI 2012-10-13 21:06:32 +09:00
parent de41f5c880
commit 79ea4f0885
29 changed files with 870 additions and 11 deletions

View file

@ -56,6 +56,8 @@
#include "./sort_heap.cpp"
#include "./next_permutation.cpp"
#include "./prev_permutation.cpp"
#include "./clamp_range_copy.cpp"
#include "./clamp_range.cpp"
#include "./swap_element.cpp"
#include "./swap_element_copy.cpp"
#include "./random_swap.cpp"
@ -121,6 +123,8 @@ namespace testspr {
testspr::algorithm_sort_heap_test();
testspr::algorithm_next_permutation_test();
testspr::algorithm_prev_permutation_test();
testspr::algorithm_clamp_range_copy_test();
testspr::algorithm_clamp_range_test();
testspr::algorithm_swap_element_test();
testspr::algorithm_swap_element_copy_test();
testspr::algorithm_random_swap_test();