mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +01:00
add tests for the silent failure
This commit is contained in:
parent
8a3a4c70d6
commit
90106359e4
@ -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