Skip to content

Commit 3be9661

Browse files
kshyattandyferris
authored andcommitted
Couple missing trait tests (#190)
1 parent d2c064e commit 3be9661

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/core.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,9 @@
166166
@test convert(Array{Int,2}, ma) == a
167167
@test_inferred convert(Array{Int,2}, ma)
168168
end =#
169+
@test_throws Exception Length{2.5}()
170+
@test Length(2) == Length{2}()
171+
@test Tuple{2, 3, 5} != Size{(2, 3, 4)}
172+
@test Size{(2, 3, 4)} != Tuple{2, 3, 5}
173+
169174
end

0 commit comments

Comments
 (0)