From b7e7bcb7ef2bed01310445b3747c951cdb11abd5 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Thu, 22 Mar 2018 13:25:52 +0100 Subject: [PATCH] fix tests (parametrised perms) --- test/DirectProd-tests.jl | 4 ++-- test/WreathProd-tests.jl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/DirectProd-tests.jl b/test/DirectProd-tests.jl index 115919b..cb85b61 100644 --- a/test/DirectProd-tests.jl +++ b/test/DirectProd-tests.jl @@ -8,7 +8,7 @@ @testset "Constructors" begin @test isa(Groups.DirectProductGroup(G,2), Nemo.Group) @test isa(G×G, Nemo.Group) - @test isa(Groups.DirectProductGroup(G,2), Groups.DirectProductGroup{Nemo.PermGroup}) + @test isa(Groups.DirectProductGroup(G,2), Groups.DirectProductGroup{Generic.PermGroup{Int64}}) GG = Groups.DirectProductGroup(G,2) @@ -18,7 +18,7 @@ @test GG(G(), G()) == GG() @test isa(GG([g, g^2]), GroupElem) - @test isa(GG([g, g^2]), Groups.DirectProductGroupElem{Nemo.perm}) + @test isa(GG([g, g^2]), Groups.DirectProductGroupElem{Generic.perm{Int64}}) h = GG([g,g^2]) diff --git a/test/WreathProd-tests.jl b/test/WreathProd-tests.jl index 010fe8f..1afa7e1 100644 --- a/test/WreathProd-tests.jl +++ b/test/WreathProd-tests.jl @@ -73,7 +73,7 @@ Wr = WreathProduct(PermutationGroup(2),S_3) - @test isa([elements(Wr)...], Vector{Groups.WreathProductElem{Nemo.perm}}) + @test isa([elements(Wr)...], Vector{Groups.WreathProductElem{Generic.perm{Int64}}}) elts = [elements(Wr)...]