mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-07-31 22:26:23 +02:00
tests: fix GroupRing initialisation
This commit is contained in:
parent
986dd3dae1
commit
a03420e6d3
@ -10,7 +10,7 @@ using Nemo
|
|||||||
@test isa(GroupRing(G), Nemo.Ring)
|
@test isa(GroupRing(G), Nemo.Ring)
|
||||||
@test isa(GroupRing(G), GroupRing)
|
@test isa(GroupRing(G), GroupRing)
|
||||||
|
|
||||||
RG = GroupRing(G)
|
RG = GroupRing(G, initialise=false)
|
||||||
@test isdefined(RG, :pm) == false
|
@test isdefined(RG, :pm) == false
|
||||||
@test isdefined(RG, :basis) == false
|
@test isdefined(RG, :basis) == false
|
||||||
@test isdefined(RG, :basis_dict) == false
|
@test isdefined(RG, :basis_dict) == false
|
||||||
@ -57,7 +57,7 @@ using Nemo
|
|||||||
|
|
||||||
@testset "GroupRingElems constructors/basic manipulation" begin
|
@testset "GroupRingElems constructors/basic manipulation" begin
|
||||||
G = PermutationGroup(3)
|
G = PermutationGroup(3)
|
||||||
RG = GroupRing(G, full=true)
|
RG = GroupRing(G, initialise=true)
|
||||||
a = rand(6)
|
a = rand(6)
|
||||||
@test isa(GroupRingElem(a, RG), GroupRingElem)
|
@test isa(GroupRingElem(a, RG), GroupRingElem)
|
||||||
@test isa(RG(a), GroupRingElem)
|
@test isa(RG(a), GroupRingElem)
|
||||||
@ -96,7 +96,7 @@ using Nemo
|
|||||||
|
|
||||||
@testset "Arithmetic" begin
|
@testset "Arithmetic" begin
|
||||||
G = PermutationGroup(3)
|
G = PermutationGroup(3)
|
||||||
RG = GroupRing(G, full=true)
|
RG = GroupRing(G)
|
||||||
a = RG(ones(Int, order(G)))
|
a = RG(ones(Int, order(G)))
|
||||||
|
|
||||||
@testset "scalar operators" begin
|
@testset "scalar operators" begin
|
||||||
|
Loading…
Reference in New Issue
Block a user