Skip to content

Commit

Permalink
work on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
walra356 committed Oct 16, 2023
1 parent 6c35153 commit 389bb23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/strings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ end

@doc raw"""
sub(i::T) where T<:Real
sub(str::String)
Subscript notation for integers, rational numbers and a *subset* of lowercase characters ('a','e','h','k','l','m','n','o','p','r','s','t','x')
#### Examples:
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ using Test
@test grid_integration(real(ZH1s_generic) .^ 2, 1, grid.N, grid) 1.0
@test sup(-5 // 2) == "⁻⁵ᐟ²"
@test sub(-5 // 2) == "₋₅⸝₂"
@test sub("e") == ""
@test frac(-5 // 2) == "-⁵/₂"
@test strRational(-5) == "-5"
@test strRational(-5 // 2) == "-5/2"
Expand Down

0 comments on commit 389bb23

Please sign in to comment.