From 5e232be34f141a946b0bc00ea10bc4ecb31d4a2c Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 23 九月 2019 12:58:47 +0800 Subject: [PATCH] 修改数据连接 --- src/test/kotlin/com/flightfeather/obd/Test.kt | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/test/kotlin/com/flightfeather/obd/Test.kt b/src/test/kotlin/com/flightfeather/obd/Test.kt index 0693195..f16c654 100644 --- a/src/test/kotlin/com/flightfeather/obd/Test.kt +++ b/src/test/kotlin/com/flightfeather/obd/Test.kt @@ -14,7 +14,8 @@ @Test fun foo1() { val b = ByteArray(20) {8} - println(b[18]) + val a = 1 + println(a.toString(2)) } @Test @@ -127,4 +128,11 @@ println(SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(cal.time)) } + + @Test + fun f0012() { + val a = "80ffffff".toBigInteger(16) + val b = a?.toDouble() + + } } \ No newline at end of file -- Gitblit v1.9.3