mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
This PR fixes the magnitude units in `MutableMeasure#mut_acc` and `MutableMeasure#mut_plus`. Previously, both `mut_acc` and `mut_plus` were setting the base magnitude using the unit-ed magnitude value. While this would work fine for base units where `magnitude == baseUnitMagnitude`, this was creating issues with derived units. This PR also adds missing tests for the `MutableMeasure` class.