Skip to content

Commit f718784

Browse files
committed
adds positive dimensional error tests
1 parent 93fd1f5 commit f718784

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/algorithms/solvers.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@
4646
I = Ideal([x1^2-x2, x1*x3-x4, x2*x4-12, x4^3-x3^2])
4747
real_solutions(I)
4848
@test I.rat_param.vars == Symbol[]
49+
50+
I = Ideal([x1^2-x2, x1*x3, x2-12])
51+
@test_throws ErrorException real_solutions(I)
52+
@test_throws ErrorException rational_solutions(I)
4953
end

0 commit comments

Comments
 (0)