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
ffee54616a
commit
f852a6ca8e
@ -53,6 +53,12 @@ using Nemo
|
|||||||
B = GroupRing(F, basis, d, pm)
|
B = GroupRing(F, basis, d, pm)
|
||||||
@test A == B
|
@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
|
end
|
||||||
|
|
||||||
@testset "GroupRingElems constructors/basic manipulation" begin
|
@testset "GroupRingElems constructors/basic manipulation" begin
|
||||||
|
Loading…
Reference in New Issue
Block a user