From 180fc6f971ac18e208a111d2aed37103311ea7d8 Mon Sep 17 00:00:00 2001 From: Tianyi Pu <912396513@qq.com> Date: Wed, 28 Feb 2024 19:41:55 +0000 Subject: [PATCH] increase coverage --- test/runtests.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 37357ed..9305355 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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