mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
add localonly & update apponly protobufs
This commit is contained in:
parent
d7aa79edc6
commit
875939931e
5 changed files with 107 additions and 54 deletions
|
|
@ -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/#CgUYAiIBAQ")
|
||||
val url = Uri.parse("https://www.meshtastic.org/e/#CgUiAQEYAg")
|
||||
val cs = ChannelSet(url)
|
||||
// Assert.assertEquals("LongFast", cs.primaryChannel!!.name, )
|
||||
// Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName, )
|
||||
// Assert.assertEquals(url, cs.getChannelUrl(false))
|
||||
Assert.assertEquals("LongFast", cs.primaryChannel!!.name)
|
||||
Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName)
|
||||
Assert.assertEquals(url, cs.getChannelUrl(false))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue