From 6a8324da6904bbfab7946f8357d7af75dacee9de Mon Sep 17 00:00:00 2001 From: ThomasBreuer Date: Thu, 12 Sep 2024 16:37:38 +0200 Subject: [PATCH] add a test --- test/basics.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/basics.jl b/test/basics.jl index d660e5456..21e4ed711 100644 --- a/test/basics.jl +++ b/test/basics.jl @@ -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