aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-12-01 20:20:23 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-12-01 20:20:23 +1300
commit1c70f6cad768f47ec8c49444e03691727699322b (patch)
treeaf4e43d41c8642ce531db77ef4d2051666533f8c /test
parent1644fb040d087a570afab3030dba5260075d64a6 (diff)
downloadtraccar-server-1c70f6cad768f47ec8c49444e03691727699322b.tar.gz
traccar-server-1c70f6cad768f47ec8c49444e03691727699322b.tar.bz2
traccar-server-1c70f6cad768f47ec8c49444e03691727699322b.zip
Improve intellitrack decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/IntellitracProtocolDecoderTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
index 351b6136d..59b47ebf3 100644
--- a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
@@ -47,6 +47,13 @@ public class IntellitracProtocolDecoderTest {
verify(decoder.decode(null, null,
"1010000001,20030105092129,-121.651598,-25.052325,0,0,33,0,1,0,0"));
+
+ verify(decoder.decode(null, null,
+ "1015210962,20131010144712,-77.070037,-12.097935,0,0,77,7,2,2,0,0,139446.8,2095,20131010144712,,0.103,0.000"));
+
+ verify(decoder.decode(null, null,
+ "1003269480,20131126100258,10.32989,49.93836,0,304,217,6,2,0,0,0.000,0.000,20131126100258,0,0,0,-40,0,0,-273,0,0,0,0"));
+
}