Skip to content

Commit

Permalink
Comment broken DimArray test
Browse files Browse the repository at this point in the history
This test should rather live in DimensionalData because mapslices of DimArray is implemented there.
  • Loading branch information
felixcremer committed Feb 22, 2024
1 parent 00c381d commit 4fcfeaf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/dimarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ end
@test r.data == a2.data .+ reshape(a3.data,(4,1,5))


x = Dim{:axis1}(1:10)
yax = DimArray(rand(10), x)
r = mapslices(sum, yax, dims=:axis1)
@test r.data[] == sum(yax.data)
# x = Dim{:axis1}(1:10)
# yax = DimArray(rand(10), x)
# r = mapslices(sum, yax, dims=:axis1)
# @test r.data[] == sum(yax.data)

#I am not sure, whether this is an actual use case
# and whether we would like to support the mix of symbol and string axisnames.
@test_broken mapslices(sum, yax, dims="axis1")
# @test_broken mapslices(sum, yax, dims="axis1")
end

@testitem "Moving Window DimArray" begin
Expand Down

0 comments on commit 4fcfeaf

Please sign in to comment.