Corrected calculation in assert
This commit is contained in:
parent
a81447ed2e
commit
d863f5d660
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ class AutosensDataStoreTest : TestBase() {
|
||||||
Assertions.assertEquals(7, autosensDataStore.bucketedData!!.size.toLong())
|
Assertions.assertEquals(7, autosensDataStore.bucketedData!!.size.toLong())
|
||||||
Assertions.assertEquals(100.0, autosensDataStore.bucketedData!![0].value, 1.0) // Recalculated data to 48min
|
Assertions.assertEquals(100.0, autosensDataStore.bucketedData!![0].value, 1.0) // Recalculated data to 48min
|
||||||
Assertions.assertEquals(98.0, autosensDataStore.bucketedData!![1].value, 1.0) // Recalculated data to 43min
|
Assertions.assertEquals(98.0, autosensDataStore.bucketedData!![1].value, 1.0) // Recalculated data to 43min
|
||||||
Assertions.assertEquals(67.0, autosensDataStore.bucketedData!![3].value, 1.0) // Recalculated data to 33min
|
Assertions.assertEquals(74.0, autosensDataStore.bucketedData!![3].value, 1.0) // Recalculated data to 33min
|
||||||
Assertions.assertEquals(40.0, autosensDataStore.bucketedData!![6].value, 1.0) // Recalculated data to 18min
|
Assertions.assertEquals(40.0, autosensDataStore.bucketedData!![6].value, 1.0) // Recalculated data to 18min
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue