parent
efcc9baa66
commit
8f34ca5d89
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
package info.nightscout.pump.medtrum.comm.packets
|
package info.nightscout.pump.medtrum.comm.packets
|
||||||
|
|
||||||
|
import com.google.common.truth.Truth.assertThat
|
||||||
import dagger.android.AndroidInjector
|
import dagger.android.AndroidInjector
|
||||||
import dagger.android.HasAndroidInjector
|
import dagger.android.HasAndroidInjector
|
||||||
import info.nightscout.pump.medtrum.MedtrumTestBase
|
import info.nightscout.pump.medtrum.MedtrumTestBase
|
||||||
import org.junit.jupiter.api.Assertions
|
|
||||||
import org.junit.jupiter.api.Test
|
import org.junit.jupiter.api.Test
|
||||||
|
|
||||||
class SetBolusPacketTest : MedtrumTestBase() {
|
class SetBolusPacketTest : MedtrumTestBase() {
|
||||||
|
@ -28,6 +28,6 @@ class SetBolusPacketTest : MedtrumTestBase() {
|
||||||
|
|
||||||
// Expected values
|
// Expected values
|
||||||
val expected = byteArrayOf(19, 1, 47, 0, 0)
|
val expected = byteArrayOf(19, 1, 47, 0, 0)
|
||||||
Assertions.assertEquals(expected.contentToString(), result.contentToString())
|
assertThat(result).asList().containsExactlyElementsIn(expected.toList()).inOrder()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue