From 8cd10c0bfa46e089779e8fd35c49c1b2f10129aa Mon Sep 17 00:00:00 2001 From: kalmarek Date: Tue, 27 Mar 2018 20:15:28 +0200 Subject: [PATCH] make sure we don't reduce if not asked --- test/AutGroup-tests.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/AutGroup-tests.jl b/test/AutGroup-tests.jl index c8fbcb0..84986e6 100644 --- a/test/AutGroup-tests.jl +++ b/test/AutGroup-tests.jl @@ -177,6 +177,13 @@ @test g == A(Groups.perm_autsymbol([2,1,3,4])) + g_im = g(Groups.domain(A)) + @test length(g_im[1]) == 5 + @test length(g_im[2]) == 3 + @test length(g_im[3]) == 1 + @test length(g_im[4]) == 1 + @test length.(Groups.reduce!.(g_im)) == (1,1,1,1) + end @testset "specific Aut(F4) tests" begin