Skip to content
5 changes: 1 addition & 4 deletions .spec/sorting/sort_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ describe("Bogosort", function()
check_sort(require("sorting.bogosort"), 5)
end)
describe("Countingsort", function()
-- Test with multiple radii
local countingsort = require("sorting.countingsort")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
local countingsort = require("sorting.countingsort")

check_sort(countingsort(), nil, true)
check_sort(countingsort(2), nil, true)
check_sort(countingsort(1e3), nil, true)
check_sort(require(countingsort()), nil, true)
end)