Skip to content

Commit

Permalink
test for ndims
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 11, 2025
1 parent 38bb168 commit b2f6cf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ end
end

@testset "iteration" begin
@test ndims(v) == ndims(typeof(v)) == 1
@test length(v) == 4 == length(v')
@test length(TupleVec()) == length(TupleVec(())) == length(TupleVec((;))) == 0
@test eltype(v) == Float64 == eltype(v')
Expand Down

0 comments on commit b2f6cf9

Please sign in to comment.