diff --git a/test/extensions/groebner.jl b/test/extensions/groebner.jl index 505e42c95..2b3a23358 100644 --- a/test/extensions/groebner.jl +++ b/test/extensions/groebner.jl @@ -75,10 +75,10 @@ basis = groebner_basis(system) # issues/1323 @variables t S(t) R(t) sys = [-12 + 5S, 2 + 5R] -@test isequal(groebner_basis(sys, ordering=Lex(S, R)), [2//5 + R, -12//5 + S]) +@test isequal(expand.(groebner_basis(sys, ordering=Lex(S, R))), [2//5 + R, -12//5 + S]) sys = [S^2 + 2*R^2 - 1, S*R - 1] res = [(1//2) - (1//2)*(R^2) + R^4, S - R + (2//1)*(R^3)] -@test isequal(groebner_basis(sys, ordering=Lex(S, R), res) +@test isequal(expand.(groebner_basis(sys, ordering=Lex(S, R))), res) # Groebner does not yet work with constant ideals @test_broken groebner_basis([1])