From 259512005923831d1221bd49568751bf519dc020 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 18 九月 2019 23:18:10 +0800 Subject: [PATCH] 1. 修复保存obd 信息体方法未被调用的问题 --- src/test/kotlin/com/flightfeather/obd/Test.kt | 14 +++++++++++++- 1 files changed, 13 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..7a7ca8f 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,15 @@ println(SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(cal.time)) } + + @Test + fun f0012() { + ByteArray(3).forEach { + println(it) + return + } + + println("end") + + } } \ No newline at end of file -- Gitblit v1.9.3