aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/PatternUtilTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/helper/PatternUtilTest.java')
-rw-r--r--test/org/traccar/helper/PatternUtilTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/org/traccar/helper/PatternUtilTest.java b/test/org/traccar/helper/PatternUtilTest.java
new file mode 100644
index 000000000..25a540291
--- /dev/null
+++ b/test/org/traccar/helper/PatternUtilTest.java
@@ -0,0 +1,16 @@
+package org.traccar.helper;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class PatternUtilTest {
+
+ @Test
+ public void testCheckPattern() {
+
+ assertEquals("ab", PatternUtil.checkPattern("abc", "abd"));
+
+ }
+
+}