Closed samspycher closed 4 years ago
This is a 1:1 copy of the function MedtronicPumpPlugin.setTempBasalPercent into OmnipodPumpPlugin.
It is tested with multiple temp basal rates featuring both absolute and percentage values, and seems to work fine.
Fixes AAPS-Omnipod/AndroidAPS#10
Unit tests added, was a bit unsure of the reasonable scope of input values for this test => happy for feedback.
This is a 1:1 copy of the function MedtronicPumpPlugin.setTempBasalPercent into OmnipodPumpPlugin.
It is tested with multiple temp basal rates featuring both absolute and percentage values, and seems to work fine.
Fixes AAPS-Omnipod/AndroidAPS#10