Skip to content

Commit

Permalink
Added missing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SoongNoonien committed Feb 6, 2025
1 parent d04ee2d commit bddd8cc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/generic/UnivPoly-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,13 @@

@test denominator(1//2*x+1//3*x^2) == 6
@test denominator(2//3*x) == 3

@test ZZ(1)+x == 1+x
@test x+ZZ(1) == x+1

@test x-ZZ(1) == x-1
@test ZZ(1)-x == 1-x

@test ZZ(2)*x == 2*x
@test x*ZZ(2) == x*2
end

0 comments on commit bddd8cc

Please sign in to comment.