Skip to content

Commit 65fc071

Browse files
committed
adds further test case
1 parent 45da5ad commit 65fc071

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/algorithms/solvers.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
# issue 54
6565
I = Ideal([R(0)])
6666
@test_throws ErrorException real_solutions(I)
67+
I = Ideal([x1-1,x2+2,R(0)])
68+
@test sort(real_solutions(I)) == sort(Vector{QQFieldElem}[[1, -2]])
6769

6870
# check variable permutation
6971
R, (x, y) = polynomial_ring(QQ,["x","y"])

0 commit comments

Comments
 (0)