aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-05 13:10:03 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-05 13:10:03 +1200
commit9c4f58c2bac0b2cad025f3ac3e79e88511a0b857 (patch)
treeecb782f02903452ef8ea36e0b9dce9d3b9bdbd20 /test/org
parent6396a2ec497fad786444be13884ad569526dafce (diff)
downloadtraccar-server-9c4f58c2bac0b2cad025f3ac3e79e88511a0b857.tar.gz
traccar-server-9c4f58c2bac0b2cad025f3ac3e79e88511a0b857.tar.bz2
traccar-server-9c4f58c2bac0b2cad025f3ac3e79e88511a0b857.zip
Add TK103 unit test case
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 408902829..b64f1ae26 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
+ verifyAttributes(decoder, text(
+ "(087072009461BR00000007V0000.0000N00000.0000E000.00014039900000000L00000000"));
+
verifyPosition(decoder, text(
"(013612345678BO012061830A2934.0133N10627.2544E040.0080331309.6200000000L000770AD"));