Skip to content

Commit

Permalink
add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Sep 12, 2024
1 parent 02af02f commit 6a8324d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/basics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,10 @@ end
@test gs3 == [random(GRS, G) for _=1:30]

end

@testset "printing" begin
io = IOBuffer()
io = AbstractAlgebra.pretty(io)
print(io, AbstractAlgebra.Lowercase(), GapObj([1, 2, 3]))
@test String(take!(io)) == "GAP: [ 1, 2, 3 ]"
end

0 comments on commit 6a8324d

Please sign in to comment.