Skip to content

Commit 2a4bc3c

Browse files
committed
reduce test cases
1 parent b475d71 commit 2a4bc3c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/fixed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function test_fixed{T}(::Type{T}, f)
4848
end
4949
end
5050

51-
for (TI, f) in [(Int8, 8), (Int16, 8),(Int16, 10), (Int32, 8), (Int32, 10), (Int32, 16)]
51+
for (TI, f) in [(Int8, 8), (Int16, 8), (Int16, 10), (Int32, 16)]
5252
T = Fixed{TI,f}
5353
println(" Testing $T")
5454
test_fixed(T, f)

test/ufixed.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ for T in FixedPointNumbers.UF
5959
end
6060
@test convert(Rational, convert(UFixed8, 0.5)) == 0x80//0xff
6161

62-
x = Ufixed8(0b01010001, 0)
63-
@test ~x == Ufixed8(0b10101110, 0)
62+
x = UFixed8(0b01010001, 0)
63+
@test ~x == UFixed8(0b10101110, 0)
6464
@test -x == 0xafuf8
6565

6666
for T in FixedPointNumbers.UF

0 commit comments

Comments
 (0)