• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mtsch / Ripserer.jl / 8545078607

03 Apr 2024 08:26PM UTC coverage: 96.51% (+0.09%) from 96.417%
8545078607

Pull #166

github

web-flow
Merge ed46e50d4 into 3f2d63fae
Pull Request #166: Better homology

245 of 250 new or added lines in 5 files covered. (98.0%)

3 existing lines in 3 files now uncovered.

1770 of 1834 relevant lines covered (96.51%)

3302629.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.89
/src/computation/utils.jl
1
macro prog_print(verbose, args...)
6✔
2
    quote
6✔
3
        if $(esc(verbose))
683✔
4
            printstyled(stderr, $(esc.(args)...); color=:green)
28✔
5
        end
6
    end
7
end
8
macro prog_println(verbose, args...)
7✔
9
    quote
7✔
10
        if $(esc(verbose))
845✔
11
            printstyled(stderr, $(esc.(args)...), '\n'; color=:green)
36✔
12
        end
13
    end
14
end
15

16
simplex_name(::Type{<:Simplex{1}}) = "edges"
12✔
17
simplex_name(::Type{<:Simplex{2}}) = "triangles"
4✔
UNCOV
18
simplex_name(::Type{<:Simplex{3}}) = "tetrahedra"
×
19
simplex_name(::Type{<:AbstractSimplex{D}}) where {D} = "$D-simplices"
×
20
simplex_name(::Type{<:AbstractCell{D}}) where {D} = "$D-cells"
4✔
21

22
function fmt_number(i)
20✔
23
    # Stolen from Humanize.jl
24
    value = string(i)
20✔
25
    group_ends = reverse(collect(length(value):-3:1))
32✔
26
    groups = [value[max(end_index - 2, 1):end_index] for end_index in group_ends]
20✔
27
    return join(groups, ",")
20✔
28
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc