From 88a9e3b4b78c208170087f1c2478cba877c00126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Mon, 27 May 2024 17:57:21 +0200 Subject: [PATCH] Enhance test Co-authored-by: Max Horn --- src/macros.jl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/macros.jl b/src/macros.jl index 4cb63b0c7..79d2c9833 100644 --- a/src/macros.jl +++ b/src/macros.jl @@ -341,17 +341,20 @@ reference the original GAP object. # Examples ```jldoctest +julia> GAP.@wrap IsString(x::GapObj)::Bool +IsString (generic function with 1 method) + +julia> IsString("abc") +true + julia> GAP.@wrap Jacobi(x::GapInt, y::GapInt)::Int Jacobi (generic function with 1 method) julia> Jacobi(11,35) 1 -julia> GAP.@wrap IsString(x::GapObj)::Bool -IsString (generic function with 1 method) - -julia> IsString("abc") -true +julia> Jacobi(big(35)^100+11, 35) +1 ``` """ macro wrap(ex)