Skip to content

Commit a39c659

Browse files
committed
Print test progress
1 parent 5c08bce commit a39c659

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

test/fixed32.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function test_fixed{T}(::Type{T}, f)
66
tol = 2.0^-f
77

88
for x in values
9-
#isinteger(x) && @show x
9+
isinteger(x) && @show x
1010
fx = convert(T,x)
1111
@test convert(T,convert(Float64, fx)) == fx
1212
@test convert(T,convert(Float64, -fx)) == -fx
@@ -45,5 +45,7 @@ function test_fixed{T}(::Type{T}, f)
4545
end
4646

4747
for f in [8, 10, 16]
48-
test_fixed(Fixed32{f}, f)
48+
T = Fixed32{f}
49+
println(" Testing $T")
50+
test_fixed(T, f)
4951
end

test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
include("fixed32.jl")
2-
include("ufixed.jl")
1+
for f in ["ufixed.jl", "fixed32.jl"]
2+
println("Testing $f")
3+
include(f)
4+
end

0 commit comments

Comments
 (0)