Skip to content

Commit 5fe3874

Browse files
committed
Fix tests
1 parent ac6443f commit 5fe3874

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ using Test
33

44
@testset "BitTwiddlingConvenienceFunctions.jl" begin
55

6-
@test all(i -> HostCPUFeatures.intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30))
7-
@test all(i -> HostCPUFeatures.nextpow2(i) == i, 0:2)
6+
@test all(i -> intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30))
7+
@test all(i -> nextpow2(i) == i, 0:2)
88
for j in 1:10
99
l, u = (1<<j)+1, 1<<(j+1)
10-
@test all(i -> HostCPUFeatures.nextpow2(i) == u, l:u)
10+
@test all(i -> nextpow2(i) == u, l:u)
1111
end
1212

1313
end

0 commit comments

Comments
 (0)