diff options
Diffstat (limited to 'test/org/traccar/helper/PatternUtilTest.java')
-rw-r--r-- | test/org/traccar/helper/PatternUtilTest.java | 16 |
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")); + + } + +} |