parent
0355a58d47
commit
84138eba33
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
package info.nightscout.core.pump.common.utils
|
||||
|
||||
import com.google.common.truth.Truth.assertThat
|
||||
import info.nightscout.core.utils.DateTimeUtil
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
internal class DateTimeUtilUTest {
|
||||
|
@ -10,6 +10,6 @@ internal class DateTimeUtilUTest {
|
|||
val dt1 = 20191001182301L
|
||||
val dt2 = 20191001192805L
|
||||
val aTechDateDifferenceAsMinutes = DateTimeUtil.getATechDateDifferenceAsMinutes(dt1, dt2)
|
||||
Assertions.assertEquals(65, aTechDateDifferenceAsMinutes)
|
||||
assertThat(aTechDateDifferenceAsMinutes).isEqualTo(65)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue