From 01eae19a4870033e879a3faa6749eece92926cab Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 26 一月 2024 17:10:55 +0800
Subject: [PATCH] 1. 新增多项yml配置文件 2. 新增导入静安监测数据功能模块(未完成)

---
 src/test/kotlin/com/flightfeather/uav/Test.kt |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/test/kotlin/com/flightfeather/uav/Test.kt b/src/test/kotlin/com/flightfeather/uav/Test.kt
index 85e68a9..7cd72a9 100644
--- a/src/test/kotlin/com/flightfeather/uav/Test.kt
+++ b/src/test/kotlin/com/flightfeather/uav/Test.kt
@@ -118,11 +118,10 @@
 
     @Test
     fun foo16() {
-        val l = mutableListOf<BigDecimal>().apply {
-            add(BigDecimal.valueOf(6.23))
-            add(BigDecimal("6.23"))
-            add(BigDecimal(6.23))
+        val list = listOf(1, 2, 3, 4, 5, 6)
+        val iterator = list.iterator().also { it.next() }
+        iterator.forEach {
+            println(it)
         }
-        l.forEach { println(it) }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3