Skip to content

Commit

Permalink
Enhance test
Browse files Browse the repository at this point in the history
Co-authored-by: Max Horn <[email protected]>
  • Loading branch information
lgoettgens and fingolfin committed May 27, 2024
1 parent 85dba1b commit 88a9e3b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/macros.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 88a9e3b

Please sign in to comment.