aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-01 03:34:34 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-01 03:34:34 +1300
commit8c099a4fb79d45cbab37a175f42597ec5772814b (patch)
treebe1257a637b33ae76847cbb616e678e04cc61fca /test/org/traccar
parent5012663d8688fa521fa7de02116f42ddbb57e7fb (diff)
downloadtraccar-server-8c099a4fb79d45cbab37a175f42597ec5772814b.tar.gz
traccar-server-8c099a4fb79d45cbab37a175f42597ec5772814b.tar.bz2
traccar-server-8c099a4fb79d45cbab37a175f42597ec5772814b.zip
Add TK103 unit test case
Diffstat (limited to 'test/org/traccar')
-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 e6ca3f218..09ace415c 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(
+ "(325031693849BR00170228A5750.8012N02700.7476E000.2154529000.0000000200L00000000,170228,194530)"));
+
+ verifyPosition(decoder, text(
"(087073803649BR00170221A6142.0334N02712.2197E000.3203149000.00,00000000L00000000)"));
verifyPosition(decoder, text(