aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 05:31:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 13:32:29 +1200
commitcbd55752405d65132a47205748435d937610ee7a (patch)
treebaa6d517b9417501cc9d3d77651d19dd4f4bc1a0 /test/org
parente65a701cb52ec0b5a32228b4f922cdc1a0a6fd6a (diff)
downloadtrackermap-server-cbd55752405d65132a47205748435d937610ee7a.tar.gz
trackermap-server-cbd55752405d65132a47205748435d937610ee7a.tar.bz2
trackermap-server-cbd55752405d65132a47205748435d937610ee7a.zip
Improve TK103 protocol decoder (fix #2270)
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index c1bf148bc..ba820f2f6 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
verifyPosition(decoder, text(
+ "(01602009983BR00160830V1855.7022S4817.8731W000.0002729000.0010000000L00000000)"));
+
+ verifyPosition(decoder, text(
"(088046338039BR00160727A3354.7768N03540.7258E000.0140832068.4700000000L00BEB0D4+017.7)"));
verifyPosition(decoder, text(