aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-13 10:15:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-13 10:15:43 +1300
commit6da19dd5926bceec8d648072e48d828bdce30e8e (patch)
tree040ee46258348c5b6eea4f2d65d65045397943e8 /test/org/traccar/protocol
parenta789d3992ec5c5918a122c284fe46e4f1e26b746 (diff)
downloadtraccar-server-6da19dd5926bceec8d648072e48d828bdce30e8e.tar.gz
traccar-server-6da19dd5926bceec8d648072e48d828bdce30e8e.tar.bz2
traccar-server-6da19dd5926bceec8d648072e48d828bdce30e8e.zip
Handle negative altitude value
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/WialonProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WialonProtocolDecoderTest.java b/test/org/traccar/protocol/WialonProtocolDecoderTest.java
index b7d2149dd..40b0469ea 100644
--- a/test/org/traccar/protocol/WialonProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WialonProtocolDecoderTest.java
@@ -23,6 +23,9 @@ public class WialonProtocolDecoderTest extends ProtocolTest {
"#P#"));
verifyPosition(decoder, text(
+ "#D#101118;061143;0756.0930;N;12338.6403;E;18.223;99.766;-4.000;10;0.800;NA;NA;NA;NA;101_521347:1:521249,101_521126:1:6593598,101_521127:1:774780,101_521072_21.1:1:0,101_521072_21.2:1:71353;F24A"));
+
+ verifyPosition(decoder, text(
"#D#151216;135910;5321.1466;N;04441.7929;E;87;156;265.000000;12;1.000000;241;NA;NA;NA;odo:2:0.000000,total_fuel:1:430087,can_fls:1:201,can_taho:1:11623,can_mileage:1:140367515"));
verifyPosition(decoder, text(