gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: split strings test


From: gnunet
Subject: [libeufin] branch master updated: split strings test
Date: Thu, 28 May 2020 14:32:32 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 198360b  split strings test
198360b is described below

commit 198360b2b9957775994b4458f9dd97c6c9edacfe
Author: MS <ms@taler.net>
AuthorDate: Thu May 28 14:32:26 2020 +0200

    split strings test
---
 .idea/modules.xml                    |  8 --------
 nexus/src/test/kotlin/SplitString.kt | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/.idea/modules.xml b/.idea/modules.xml
deleted file mode 100644
index dbca143..0000000
--- a/.idea/modules.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/.idea/libeufin.iml" 
filepath="$PROJECT_DIR$/.idea/libeufin.iml" />
-    </modules>
-  </component>
-</project>
\ No newline at end of file
diff --git a/nexus/src/test/kotlin/SplitString.kt 
b/nexus/src/test/kotlin/SplitString.kt
new file mode 100644
index 0000000..a0fb006
--- /dev/null
+++ b/nexus/src/test/kotlin/SplitString.kt
@@ -0,0 +1,14 @@
+package tech.libeufin.nexus
+
+import org.junit.Test
+
+class SplitString {
+
+    @Test
+    fun splitString() {
+        val chunks = mutableListOf<String>("first", "second", "third", 
"fourth")
+        val join = chunks.joinToString("|")
+        val chunkAgain = join.split("|")
+        assert(chunks == chunkAgain)
+    }
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]