From 5fe3874a35c67c322593a6e1e2c53cede40e78e4 Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Fri, 20 Aug 2021 23:11:48 -0400 Subject: [PATCH] Fix tests --- test/runtests.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 8880d48..649e68a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -3,11 +3,11 @@ using Test @testset "BitTwiddlingConvenienceFunctions.jl" begin - @test all(i -> HostCPUFeatures.intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30)) - @test all(i -> HostCPUFeatures.nextpow2(i) == i, 0:2) + @test all(i -> intlog2(1 << i) == i, 0:(Int == Int64 ? 53 : 30)) + @test all(i -> nextpow2(i) == i, 0:2) for j in 1:10 l, u = (1< HostCPUFeatures.nextpow2(i) == u, l:u) + @test all(i -> nextpow2(i) == u, l:u) end end