mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-11-16 19:50:00 +01:00
Add tests for shell sort
This commit is contained in:
parent
d13fdb99f2
commit
a6b45425ed
1 changed files with 11 additions and 0 deletions
11
sorting/shell_sort_test.rb
Normal file
11
sorting/shell_sort_test.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
require 'minitest/autorun'
|
||||
require_relative './sort_tests'
|
||||
require_relative './shell_sort'
|
||||
|
||||
class TestShellSort < Minitest::Test
|
||||
include SortTests
|
||||
|
||||
def sort(input)
|
||||
shell_sort(input)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue