Merge branch 'meshtastic:master' into osmdroid-phase3

This commit is contained in:
PWRxPSYCHO
2022-10-18 14:32:15 -04:00
committed by GitHub

View File

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