mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-28 02:40:28 +01:00
add tests for the silent failure
This commit is contained in:
parent
ffee54616a
commit
f852a6ca8e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user