Skip to content

Commit c563b4b

Browse files
committed
add tests
1 parent 054c8c6 commit c563b4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/testtriag.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ function test_triangular(elty1_types)
493493
@test_throws DimensionMismatch transpose(Ann) \ bm
494494
if t1 == UpperTriangular || t1 == LowerTriangular
495495
@test_throws SingularException ldiv!(t1(zeros(elty1, n, n)), fill(eltyB(1), n))
496+
@test_throws SingularException ldiv!(t1(zeros(elty1, n, n)), fill(eltyB(1), n, 2))
497+
@test_throws SingularException rdiv!(fill(eltyB(1), n, n), t1(zeros(elty1, n, n)))
496498
end
497499
@test B / A1 B / M1
498500
@test B / transpose(A1) B / transpose(M1)

0 commit comments

Comments
 (0)