Skip to content

Commit eb34d9f

Browse files
committed
Add tests
1 parent 45a99a8 commit eb34d9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/commutative/comparison.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
@testset "Comparison" begin
22
@testset "Graded Lex Order" begin
33
Mod.@polyvar x y z
4+
O = Graded{LexOrder}
5+
@test ordering(x) == O
6+
@test ordering(x * y) == O
7+
@test ordering(variables(x * y)) == O
48
@test x > y > z
59
@test x^2 * y > y^3 > z
610
@test y^2 >= x

0 commit comments

Comments
 (0)