Merge remote-tracking branch 'origin/master' into feature/offline-maps

pull/391/head
PWRxPSYCHO 2022-02-16 08:34:40 -05:00
commit af89e7f8db
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -8,10 +8,10 @@ class ChannelSetTest {
/** make sure we match the python and device code behavior */
@Test
fun matchPython() {
val url = Uri.parse("https://www.meshtastic.org/d/#CgUYAyIBAQ")
val url = Uri.parse("https://www.meshtastic.org/d/#CgUYAiIBAQ")
val cs = ChannelSet(url)
Assert.assertEquals("LongSlow", cs.primaryChannel!!.name, )
Assert.assertEquals("#LongSlow-V", cs.primaryChannel!!.humanName, )
Assert.assertEquals("LongFast", cs.primaryChannel!!.name, )
Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName, )
Assert.assertEquals(url, cs.getChannelUrl(false))
}
}
}