parent
efcc9baa66
commit
8f34ca5d89
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
package info.nightscout.pump.medtrum.comm.packets
|
||||
|
||||
import com.google.common.truth.Truth.assertThat
|
||||
import dagger.android.AndroidInjector
|
||||
import dagger.android.HasAndroidInjector
|
||||
import info.nightscout.pump.medtrum.MedtrumTestBase
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
class SetBolusPacketTest : MedtrumTestBase() {
|
||||
|
@ -28,6 +28,6 @@ class SetBolusPacketTest : MedtrumTestBase() {
|
|||
|
||||
// Expected values
|
||||
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