muktihari / fit

A FIT SDK for decoding and encoding Garmin FIT files in Go supporting FIT Protocol V2.
BSD 3-Clause "New" or "Revised" License
42 stars 4 forks source link

fix: fitactivity combine should accumulate all the accumulable values #453

Closed muktihari closed 2 months ago

muktihari commented 2 months ago

Previously, we only accumulate Record's distance, but in reality, messages may have fields requires accumulation as well, such as Record's accumulated_power. We should dynamically find and accumulates those values.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (f83b3c9) to head (acfe055).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #453 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 42 42 Lines 3659 3659 ========================================= Hits 3659 3659 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.