mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-28 18:50:29 +01:00
replace for loop of @test's by @test all(...)
This commit is contained in:
parent
029de0194e
commit
0d3dad9c4d
@ -73,9 +73,7 @@ using Nemo
|
|||||||
@test isa(GroupRingElem(a, RG), GroupRingElem)
|
@test isa(GroupRingElem(a, RG), GroupRingElem)
|
||||||
@test isa(RG(a), GroupRingElem)
|
@test isa(RG(a), GroupRingElem)
|
||||||
|
|
||||||
for g in elements(G)
|
@test all(isa(RG(g), GroupRingElem) for g in elements(G))
|
||||||
@test isa(RG(g), GroupRingElem)
|
|
||||||
end
|
|
||||||
|
|
||||||
@test_throws String GroupRingElem([1,2,3], RG)
|
@test_throws String GroupRingElem([1,2,3], RG)
|
||||||
@test isa(RG(G([2,3,1])), GroupRingElem)
|
@test isa(RG(G([2,3,1])), GroupRingElem)
|
||||||
|
Loading…
Reference in New Issue
Block a user