Skip to content

Commit 6ec4fdf

Browse files
committed
add test
1 parent b9678e1 commit 6ec4fdf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/mutable_arithmetics.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,13 @@ using DynamicPolynomials
2727
@test nterms(p) == 10
2828
@test issorted(monomials(p), rev=true)
2929
@test p == T(2)x^3 + T(5)x^2 + T(4)x * y + T(4)y^2 + T(5)x + T(2) + q
30+
31+
@testset "Issue #62" begin
32+
@polyvar x y
33+
p = x^2 + x + 1
34+
q = rem(p, [x^2-y])
35+
@test q == x + y + 1
36+
end
3037
end
38+
39+

0 commit comments

Comments
 (0)