We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test/test_throws.jl
1 parent d636a3b commit 74f2182Copy full SHA for 74f2182
1 file changed
test/test_throws.jl
@@ -0,0 +1,12 @@
1
+using RandomMatrices
2
+using Test
3
+
4
+@testset "throws" begin
5
6
+@test_throws ArgumentError rand(GaussianLaguerre(10, rand(Float64)), rand(2:5))
7
+@test_throws ErrorException bidrand(GaussianLaguerre(10, rand(Float64)), rand(2:5))
8
+@test_throws ArgumentError rand(Ginibre(10), rand(2:5))
9
+@test_throws ArgumentError rand(Haar(10), rand(2:5))
10
+@test_throws ArgumentError randfast(Haar(10), rand(2:5))
11
12
+end # testset
0 commit comments