We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f34f8c commit 85b2ac5Copy full SHA for 85b2ac5
test/radix_wrapper.jl
@@ -5,7 +5,7 @@ using Random: shuffle
5
@test sort([3,1,2]) == sort([3,1,2], alg=RadixSort2)
6
@test all(sort([NaN, -NaN]) .=== sort([NaN, -NaN], alg=RadixSort2))
7
@test isequal(sort!([NaN], order=Base.Order.Reverse, alg=RadixSort2), [NaN])
8
- @test sort!([reinterpret(Char, 0xc182274c), 'a'], alg=RadixSort2) == ['a', reinterpret(Char, 0xc182274c)]
+ @test sort!([reinterpret(Char, 0xc1820000), 'a'], alg=RadixSort2) == ['a', reinterpret(Char, 0xc1820000)]
9
@test sort!(["world", "hello"], alg=RadixSort2) == ["hello", "world"]
10
x = vcat(Float16[NaN, -NaN], fill(0, 20))::Vector{Float16}
11
@test all(sort(x; alg=MergeSort) .=== sort(x; alg=RadixSort2))
0 commit comments