Skip to content

Commit 34c26b7

Browse files
committed
Tests for sym_uplo
1 parent 7b44cdd commit 34c26b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/symmetric.jl

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

1346+
@testset "sym_uplo" begin
1347+
@test LinearAlgebra.sym_uplo('U') == :U
1348+
@test LinearAlgebra.sym_uplo('L') == :L
1349+
@test_throws ArgumentError LinearAlgebra.sym_uplo('N')
1350+
end
1351+
13461352
end # module TestSymmetric

0 commit comments

Comments
 (0)