-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontroller.rb
More file actions
27 lines (25 loc) · 1.36 KB
/
controller.rb
File metadata and controls
27 lines (25 loc) · 1.36 KB
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
require './looping.rb'
require './home_made_functions.rb'
require './built_in_methods_as_functions.rb'
require './lorem_ipsum.rb'
require './array_generator.rb'
attempt = TestLooping.new
# attempt.times_loop(:built_in_shuffle, :int_array_sequential)
# attempt.times_loop(:built_in_reverse, :int_array_sequential)
# attempt.times_loop(:built_in_sort, :int_array_shuffle)
# attempt.times_loop(:my_reverse, :int_array_sequential)
# attempt.times_loop(:my_shuffle, :int_array_sequential)
# attempt.times_loop(:built_in_sort, :binary_array_shuffle)
# attempt.times_loop(:my_binary_sort, :binary_array_shuffle)
# attempt.times_loop(:my_find_duplicates, :int_array_with_duplicates_shuffle)
# attempt.times_loop(:my_find_most_frequent_words, :lorem_ipsum)
# attempt.times_loop(:my_fibonacci_sequence_generator_2, :fibonacci_start_1)
# attempt.times_loop(:test_access_element_neg_two, :int_array_with_duplicates_shuffle)
# attempt.times_loop(:test_addition, :return_integer)
# attempt.times_loop(:test_flatten, :nested_array_to_flatten)
# attempt.times_loop(:my_fibonacci_sequence_generator_3, :fibonacci_start_2)
# attempt.times_loop(:my_selection_sort, :int_array_shuffle)
# attempt.times_loop(:my_merge_sort, :int_array_shuffle)
# attempt.times_loop(:my_quick_sort, :int_array_shuffle)
# attempt.times_loop(:my_quick_sort, :int_array_sequential)
# attempt.times_loop(:function, :array_generator)