-
Notifications
You must be signed in to change notification settings - Fork 54
/
Rakefile
51 lines (42 loc) · 2.2 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
task :test do
# GETTING STARTED
ruby("Ruby/GettingStarted/unit_tests/bubble_sort_test.rb")
ruby("Ruby/GettingStarted/unit_tests/insertion_sort_test.rb")
ruby("Ruby/GettingStarted/unit_tests/merge_sort_test.rb")
# DIVIDE AND CONQUER TESTS
ruby("Ruby/DivideAndConquer/unit_tests/find_max_subarray_test.rb")
ruby("Ruby/DivideAndConquer/unit_tests/matrix_multiplication_test.rb")
# RANDOMIZED ALGORITHMS
# ruby("Ruby/RandomizedAlgorithms/unit_tests/hire_assistant_test.rb")
# ruby("Ruby/RandomizedAlgorithms/unit_tests/permuting_arrays_test.rb")
# HEAPSORT
ruby("Ruby/Heapsort/unit_tests/heap_sort_test.rb")
ruby("Ruby/Heapsort/unit_tests/min_heap_test.rb")
ruby("Ruby/Heapsort/unit_tests/max_heap_test.rb")
ruby("Ruby/Heapsort/unit_tests/min_priority_queue_test.rb")
ruby("Ruby/Heapsort/unit_tests/max_priority_queue_test.rb")
# QUICKSORT
ruby("Ruby/Quicksort/unit_tests/quick_sort_test.rb")
ruby("Ruby/Quicksort/unit_tests/randomized_quick_sort_test.rb")
ruby("Ruby/Quicksort/unit_tests/tail_recursive_quick_sort_test.rb")
# SORTING IN LINEAR TIME
ruby("Ruby/SortingInLinearTime/unit_tests/counting_sort_test.rb")
ruby("Ruby/SortingInLinearTime/unit_tests/radix_sort_test.rb")
ruby("Ruby/SortingInLinearTime/unit_tests/bucket_sort_test.rb")
# MEDIAN AND ORDER STATISTICS
ruby("Ruby/MediansAndOrderStatistics/unit_tests/min_max_test.rb")
ruby("Ruby/MediansAndOrderStatistics/unit_tests/randomized_select_test.rb")
# DYNAMIC PROGRAMMING TESTS
ruby("Ruby/DynamicProgramming/unit_tests/lcs_test.rb")
ruby("Ruby/DynamicProgramming/unit_tests/matrix_chain_multiplication_test.rb")
ruby("Ruby/DynamicProgramming/unit_tests/optimal_binary_search_tree_test.rb")
ruby("Ruby/DynamicProgramming/unit_tests/rod_cutting_test.rb")
# GREEDY ALGORITHMS TESTS
ruby("Ruby/GreedyAlgorithms/unit_tests/activity_selection_test.rb")
ruby("Ruby/GreedyAlgorithms/unit_tests/knapsack_test.rb")
# GRAPH ALGORITHMS
ruby("Ruby/GraphAlgorithms/unit_tests/breadth_first_search_test.rb")
ruby("Ruby/GraphAlgorithms/unit_tests/depth_first_search_test.rb")
ruby("Ruby/GraphAlgorithms/unit_tests/topological_sort_test.rb")
ruby("Ruby/GraphAlgorithms/unit_tests/minimum_spanning_tree_test.rb")
end