Skip to content

Commit 3be0f2e

Browse files
fix tests
1 parent 6650917 commit 3be0f2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/runtests.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
using ArrayInterface, Test
2-
2+
import ArrayInterface: has_sparsestruct, findstructralnz
33
@test ArrayInterface.ismutable(rand(3))
44

55
using StaticArrays
66
@test ArrayInterface.ismutable(@SVector [1,2,3]) == false
77
@test ArrayInterface.ismutable(@MVector [1,2,3]) == true
88

99
using LinearAlgebra, SparseArrays
10+
1011
D=Diagonal([1,2,3,4])
1112
@test has_sparsestruct(D)
1213
rowind,colind=findstructralnz(D)

0 commit comments

Comments
 (0)