Skip to content

Commit

Permalink
match 100% coverage on FPMonoids
Browse files Browse the repository at this point in the history
  • Loading branch information
kalmarek committed Nov 20, 2024
1 parent b837f31 commit 470e7ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/fpmonoids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ include(joinpath(pathof(GroupsCore), "..", "..", "test", "conformance_test.jl"))

@testset "FPMonoids" begin
M = Monoids.FreeMonoid(4)
str = sprint(show, MIME"text/plain"(), M)
@test occursin("free monoid", str)
test_GroupsCore_interface(M)

= M / [a^2 for a in gens(M)]
test_GroupsCore_interface(M²)
@testset "Monoid of commuting projections (quantum stuff)" begin
function example_monoid(n::Integer)
A = KB.Alphabet(
Expand Down

0 comments on commit 470e7ef

Please sign in to comment.