StevensSEC / pokemonbattlelib

A portable library for accurately simulating Pokemon battles.
GNU General Public License v3.0
13 stars 2 forks source link

fix aggressive floor divides, causing accuracy to become zero #345

Closed dyc3 closed 3 years ago

dyc3 commented 3 years ago

fixes #338 

codecov[bot] commented 3 years ago

Codecov Report

Merging #345 (fa14203) into main (2d80b95) will increase coverage by 0.0705%. The diff coverage is 100.0000%.

Impacted file tree graph

@@               Coverage Diff                @@
##               main       #345        +/-   ##
================================================
+ Coverage   96.1972%   96.2677%   +0.0704%     
================================================
  Files            14         14                
  Lines          1683       1688         +5     
================================================
+ Hits           1619       1625         +6     
+ Misses           47         46         -1     
  Partials         17         17                
Impacted Files Coverage Δ
calc.go 92.0634% <100.0000%> (ø)
transactions.go 96.2837% <0.0000%> (+0.4074%) :arrow_up:

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 2d80b95...fa14203. Read the comment docs.