aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-01-31 23:01:13 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-01-31 23:01:13 +1300
commit33a5306bb25af9c6b95858c82bed0c4deacbc537 (patch)
treefc7e7e622a2b8d7df5727013ac3e0dec39d91261 /test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
parentce8154726e398ca47b3d3ea214ced111c0146769 (diff)
downloadtrackermap-server-33a5306bb25af9c6b95858c82bed0c4deacbc537.tar.gz
trackermap-server-33a5306bb25af9c6b95858c82bed0c4deacbc537.tar.bz2
trackermap-server-33a5306bb25af9c6b95858c82bed0c4deacbc537.zip
Handle negative altitude (fix #535)
Diffstat (limited to 'test/org/traccar/protocol/IntellitracProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/IntellitracProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
index 7276932d9..9557797b7 100644
--- a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
@@ -19,6 +19,9 @@ public class IntellitracProtocolDecoderTest {
"1010000002,20030217132813,121.646060,25.061725,20,157,133,7,0,11,15,0.096,0.000"));
verify(decoder.decode(null, null,
+ "1010000002,20030217132813,121.646060,25.061725,20,157,-133,7,0,11,15,0.096,0.000"));
+
+ verify(decoder.decode(null, null,
"1001070919,20130405084206,37.903730,48.011377,0,0,235,10,2,2,0,20.211,0.153"));
verify(decoder.decode(null, null,