mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-26 02:20:30 +01:00
Merge branch 'master' into enh/julia-v0.7
This commit is contained in:
commit
fdab6278d5
@ -32,7 +32,7 @@
|
|||||||
@test GG(g, g^2) isa GroupElem
|
@test GG(g, g^2) isa GroupElem
|
||||||
@test GG(g, g^2) isa Groups.DirectProductGroupElem
|
@test GG(g, g^2) isa Groups.DirectProductGroupElem
|
||||||
|
|
||||||
@test_throws DomainError GG(g,g,g)
|
@test_throws MethodError GG(g,g,g)
|
||||||
@test GG(g,g^2) == h
|
@test GG(g,g^2) == h
|
||||||
|
|
||||||
@test h[1] == g
|
@test h[1] == g
|
||||||
@ -109,9 +109,9 @@
|
|||||||
@test FF([a,1]) isa GroupElem
|
@test FF([a,1]) isa GroupElem
|
||||||
@test FF([a,1]) isa DirectProductGroupElem
|
@test FF([a,1]) isa DirectProductGroupElem
|
||||||
@test FF([a,1]) isa DirectProductGroupElem{MltGrpElem{elem_type(F)}}
|
@test FF([a,1]) isa DirectProductGroupElem{MltGrpElem{elem_type(F)}}
|
||||||
@test_throws DomainError FF(1,0)
|
@test_throws MethodError FF(1,0)
|
||||||
@test_throws DomainError FF([0,1])
|
@test_throws MethodError FF([0,1])
|
||||||
@test_throws DomainError FF([1,0])
|
@test_throws MethodError FF([1,0])
|
||||||
|
|
||||||
@test MltGrp(F) isa AbstractAlgebra.Group
|
@test MltGrp(F) isa AbstractAlgebra.Group
|
||||||
@test MltGrp(F) isa MultiplicativeGroup
|
@test MltGrp(F) isa MultiplicativeGroup
|
||||||
|
Loading…
Reference in New Issue
Block a user