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