From cdba56496e148dc8f2a1c78c3d44f78a4753e58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Thu, 26 Sep 2024 14:27:19 +0200 Subject: [PATCH] Add test --- test/generic/UnivPoly-test.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/generic/UnivPoly-test.jl b/test/generic/UnivPoly-test.jl index b3104697e..4e8a1bf23 100644 --- a/test/generic/UnivPoly-test.jl +++ b/test/generic/UnivPoly-test.jl @@ -323,6 +323,12 @@ end @test vars(2x2^2 + 3x2 + 1) == [x] @test characteristic(S) == 0 + + xs, ys = gens(S, :x => (1:4), :y =>(1:2, 1:3)) + @test xs isa Vector{elem_type(S)} + @test length(xs) == 4 + @test ys isa Matrix{elem_type(S)} + @test size(ys) == (2, 3) end end end