pull/180/head^2
Ludovic Goix 2020-10-01 16:49:06 -04:00
rodzic 9da37521d5
commit c369285f6f
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -1,7 +1,5 @@
package com.geeksville.mesh
import androidx.compose.frames.open
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.geeksville.mesh.model.Channel
import org.junit.Assert
@ -12,11 +10,9 @@ import org.junit.runner.RunWith
class ChannelTest {
@Test
fun channelUrlGood() {
open() // Needed to make Compose think we are inside a Frame
val ch = Channel.emulated
Assert.assertTrue(ch.getChannelUrl().toString().startsWith(Channel.prefix))
Assert.assertEquals(Channel(ch.getChannelUrl()), ch)
}
}