1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-11-13 05:00:27 +01:00

add tests for the silent failure

This commit is contained in:
kalmar 2017-07-11 18:43:37 +02:00
parent ffee54616a
commit f852a6ca8e

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