Skip to content

Commit e923b03

Browse files
committed
Add test
1 parent 46555fa commit e923b03

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/symmetric.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,4 +1343,11 @@ end
13431343
@test_throws msg LinearAlgebra.fillband!(Symmetric(A), 2, 0, 1)
13441344
end
13451345

1346+
@testset "uplo" begin
1347+
S = Symmetric([1 2; 3 4], :U)
1348+
@test LinearAlgebra.uplo(S) == :U
1349+
H = Hermitian([1 2; 3 4], :L)
1350+
@test LinearAlgebra.uplo(H) == :L
1351+
end
1352+
13461353
end # module TestSymmetric

0 commit comments

Comments
 (0)