Skip to content

Commit 7858266

Browse files
Test for getproperty
1 parent 9362f93 commit 7858266

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/testsuite/linalg.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,10 @@ end
327327
@test isrealfloattype(typeof(opnorm(AT(mat), p)))
328328
end
329329
end
330+
331+
@testsuite "QR" (AT, eltypes)->begin
332+
@testset "get property" for dims in [(3,5),(3,3),(5,3)],
333+
prop in [:Q, :R], T in eltypes
334+
@test compare(x -> getproperty(x,prop), AT, rand(T, dims), rand(T, dims) )
335+
end
336+
end

0 commit comments

Comments
 (0)