aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/WondexProtocolDecoderTest.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/WondexProtocolDecoderTest.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/WondexProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/WondexProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WondexProtocolDecoderTest.java b/test/org/traccar/protocol/WondexProtocolDecoderTest.java
index 463627064..bf51be534 100644
--- a/test/org/traccar/protocol/WondexProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WondexProtocolDecoderTest.java
@@ -24,6 +24,9 @@ public class WondexProtocolDecoderTest {
verify(decoder.decode(null, null,
"1044989601,20130322172647,13.572583,52.401070,22,204,49,0,2"));
+ verify(decoder.decode(null, null,
+ "1044989601,20130322172647,13.572583,52.401070,22,204,-49,0,2"));
+
}
}