Skip to content

Commit 4e59d57

Browse files
committed
Mark some tests as fixed
1 parent 7ba392b commit 4e59d57

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

test/test_map.jl

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,14 @@ arrayts = (Array, JLArray)
9898
@test iszero(storedlength(a))
9999
@test iszero(b)
100100
@test iszero(storedlength(b))
101-
# TODO: Broken on GPU.
102-
@test iszero(c) broken = arrayt Array
101+
@test iszero(c)
103102
@test iszero(storedlength(c))
104103
@allowscalar a[5, 7] = 1
105104
@test !iszero(a)
106105
@test storedlength(a) == 3 * 4
107106
@test !iszero(b)
108107
@test storedlength(b) == 3 * 4
109-
# TODO: Broken on GPU.
110-
@test !iszero(c) broken = arrayt Array
108+
@test !iszero(c)
111109
@test storedlength(c) == 3 * 4
112110
d = @view a[1:4, 1:6]
113111
@test iszero(d)
@@ -407,12 +405,7 @@ arrayts = (Array, JLArray)
407405
a[Block(1, 1)] = dev(randn(elt, 2, 2))
408406
a[Block(2, 2)] = dev(randn(elt, 3, 3))
409407
I = (:, [2, 4])
410-
if arrayt === Array
411-
@test Array(a[I...]) == Array(a)[I...]
412-
else
413-
# TODO: Broken on GPU, fix this.
414-
@test_broken a[I...]
415-
end
408+
@test Array(a[I...]) == Array(a)[I...]
416409

417410
a = BlockSparseArray{elt}(undef, [2, 3], [2, 3])
418411
@views for b in [Block(1, 1), Block(2, 2)]

0 commit comments

Comments
 (0)