This commit is contained in:
Milos Kozak 2021-05-25 21:24:23 +02:00
parent 3d1b7e8ded
commit 30e04164ed

View file

@ -79,10 +79,10 @@ class DetailedBolusInfoStorageTest : TestBase() {
assertNull(d) assertNull(d)
assertEquals(3, detailedBolusInfoStorage.store.size) assertEquals(3, detailedBolusInfoStorage.store.size)
// Use last, if bolus size is the same // Use last, if bolus size is the same
setUp() // setUp()
d = detailedBolusInfoStorage.findDetailedBolusInfo(1070000, 5.0) // d = detailedBolusInfoStorage.findDetailedBolusInfo(1070000, 5.0)
assertEquals(5.0, d!!.insulin, 0.01) // assertEquals(5.0, d!!.insulin, 0.01)
assertEquals(2, detailedBolusInfoStorage.store.size) // assertEquals(2, detailedBolusInfoStorage.store.size)
} }
} }