Anders429 / brood

A fast and flexible entity component system library.
Apache License 2.0
39 stars 1 forks source link

Correctly update `Entry`'s location to match `World`'s updated state. #217

Closed Anders429 closed 1 year ago

Anders429 commented 1 year ago

This fixes #216.

codecov[bot] commented 1 year ago

Codecov Report

Merging #217 (b62606a) into dev (6589f5d) will increase coverage by 0.00%. The diff coverage is 96.29%.

@@           Coverage Diff           @@
##              dev     #217   +/-   ##
=======================================
  Coverage   96.94%   96.95%           
=======================================
  Files          85       85           
  Lines       14017    14040   +23     
=======================================
+ Hits        13589    13612   +23     
  Misses        428      428           
Impacted Files Coverage Δ
src/world/mod.rs 99.85% <90.90%> (-0.05%) :arrow_down:
src/world/entry.rs 96.85% <100.00%> (+0.76%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Anders429 commented 1 year ago

The patch coverage thing is a false flag. It's counting the macro call as a missed statement. In reality, this only adds covered lines of code.