blob: 8bc2e4fa68e9416ef4e5bea1228b6dfce4035be2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import de.blinkt.openvpn.fragments.Utils
import org.junit.Assert
import org.junit.Test
class TestUiUtils {
@Test
fun testCompatModeUtil() {
Assert.assertEquals(2, Utils.mapCompatVer(20400))
Assert.assertEquals(0, Utils.mapCompatVer(20707))
Assert.assertEquals(3, Utils.mapCompatVer(11723))
}
}
|