Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Feb 28, 2024
1 parent 26898e1 commit 180fc6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ end
end

@testset "tuplesort" begin
for N in 2:64
for N in 1:64
@test tuplesort(Tuple(randperm(N))) == Tuple(1:N)
end
end

@testset "swapsort" begin
@test swapsort(1) == 1
for N in 2:64
@test collect(swapsort(randperm(N)...)) == 1:N
end
Expand Down

0 comments on commit 180fc6f

Please sign in to comment.