From 632cfdd84b305c2001857a51e6a3fbbe6dfd00e0 Mon Sep 17 00:00:00 2001 From: darken Date: Fri, 14 Jan 2022 19:40:47 +0100 Subject: [PATCH] Fix test --- .../capod/pods/core/apple/airpods/AirPodsGen3Test.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsGen3Test.kt b/app/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsGen3Test.kt index 797e7d74..942eec53 100644 --- a/app/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsGen3Test.kt +++ b/app/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsGen3Test.kt @@ -42,20 +42,20 @@ class AirPodsGen3Test : BaseAirPodsTest() { @Test fun `random guy at bus stop`() = runBlockingTest { create("07 19 01 13 20 2B 88 8F 01 00 08 E2 0E 84 37 C5 98 16 D4 B7 37 ED 23 8B 08 EA A1") { - batteryLeftPodPercent shouldBe null - batteryRightPodPercent shouldBe 0.9f + batteryLeftPodPercent shouldBe 0.8f + batteryRightPodPercent shouldBe 0.8f isCaseCharging shouldBe false isLeftPodCharging shouldBe false isRightPodCharging shouldBe false - isLeftPodInEar shouldBe false + isLeftPodInEar shouldBe true isRightPodInEar shouldBe true batteryCasePercent shouldBe null caseLidState shouldBe DualApplePods.LidState.NOT_IN_CASE - connectionState shouldBe DualApplePods.ConnectionState.MUSIC + connectionState shouldBe DualApplePods.ConnectionState.UNKNOWN deviceColor shouldBe DualApplePods.DeviceColor.WHITE }