Segelzwerg / SportToolBox

This is a website where you calculate different metrics used in sport. It is meant to collect calculators into one website for the convenience of the athletes.
GNU General Public License v3.0
4 stars 21 forks source link

Feature/float distances constructors #90

Closed Segelzwerg closed 4 years ago

Segelzwerg commented 4 years ago

Adds and updates float constructor to all distance classes. It also adds handling of negative inputs.

codecov[bot] commented 4 years ago

Codecov Report

Merging #90 into develop will increase coverage by 0.28%. The diff coverage is 93.75%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #90      +/-   ##
=============================================
+ Coverage      85.37%   85.65%   +0.28%     
- Complexity       207      213       +6     
=============================================
  Files             33       33              
  Lines            458      474      +16     
  Branches          26       30       +4     
=============================================
+ Hits             391      406      +15     
  Misses            47       47              
- Partials          20       21       +1
Impacted Files Coverage Δ Complexity Δ
...egelzwerg/sporttooolbox/iunits/distance/Miles.java 88% <100%> (+3.78%) 11 <2> (+2) :arrow_up:
...zwerg/sporttooolbox/iunits/distance/Kilometer.java 88.46% <100%> (+0.96%) 11 <0> (+1) :arrow_up:
...lzwerg/sporttooolbox/iunits/distance/Nautical.java 90.62% <87.5%> (-1.05%) 13 <2> (+3)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bcf3231...e6e5886. Read the comment docs.