Skip to content

Commit 135bd33

Browse files
committed
adds test for dimension
1 parent 1491286 commit 135bd33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/algorithms/dimension.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
R, (x,y,z) = polynomial_ring(GF(101),["x","y","z"])
77
I = Ideal([x+2*y+2*z-1, x^2+2*y^2+2*z^2-x, 2*x*y+2*y*z-y])
88
@test iszero(dimension(I))
9+
10+
I = Ideal([R(1)])
11+
@test dimension(I) == -1
912
end

0 commit comments

Comments
 (0)