Skip to content

Commit

Permalink
add test for group acting on itself
Browse files Browse the repository at this point in the history
  • Loading branch information
kalmarek committed Apr 18, 2024
1 parent f5bf988 commit 6dae795
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/perm_groups.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,12 @@
end
end
end

@testset "group acting on itself" begin
G = PermGroup(perm"(1,2,3,4)", perm"(3,4)")
S = gens(G)
t = Transversal(one(G), S, *)
st = SchreierTransversal(one(G), S, *)
@test all(t[g] == st[g] for g in G)
end
end

0 comments on commit 6dae795

Please sign in to comment.