Skip to content

Commit

Permalink
test mp arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
tthsqe12 authored and thofma committed Jul 6, 2021
1 parent 9bd465f commit 52410e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/number/n_Zn-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ end

@test -R(3) == R(2)
@test -R() == R()

R = ResidueRing(ZZ, BigInt(10)^40)
@test iszero(R(10)^40)

end

@testset "n_Zn.binary_ops" begin
Expand Down

0 comments on commit 52410e4

Please sign in to comment.