add tests for the silent failure

This commit is contained in:
kalmar 2017-07-11 18:43:37 +02:00
parent 8a3a4c70d6
commit 90106359e4
1 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,12 @@ using Nemo
B = GroupRing(F, basis, d, pm)
@test A == B
g = B()
s = S[2]
g[s] = 1
@test g == B(s)
@test g[s^2] == 0
@test_throws KeyError g[s^10]
end
@testset "GroupRingElems constructors/basic manipulation" begin