Skip to content

Commit

Permalink
Code coverage exlusions (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffFessler authored Dec 9, 2024
1 parent 94c4169 commit 6f1aab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/jim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function jim(args...; kwargs...)
end


_units_same(x::Real, y::Real) = false
_units_same(x::Real, y::Real) = false # COV_EXCL_LINE
_units_same(x::Number, y::Number) = oneunit(x) == oneunit(y)


Expand Down Expand Up @@ -222,7 +222,7 @@ function jim!(
end


_clim(z::AbstractMatrix) = nothing
_clim(z::AbstractMatrix) = nothing # COV_EXCL_LINE
_clim(z::AbstractMatrix{<:Number}) = nothing_else(jim_def[:clim], (_mingood(z), _maxgood(z)))

# is the input image nearly uniform?
Expand All @@ -234,7 +234,7 @@ function _uniform(z::AbstractMatrix{<:Number})
return nothing
end

_uniform(z::AbstractMatrix) = nothing
_uniform(z::AbstractMatrix) = nothing # COV_EXCL_LINE

# 2D image
function _jim!(
Expand Down

0 comments on commit 6f1aab5

Please sign in to comment.