aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/DishaProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-01-11 09:39:05 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-01-11 09:39:05 +1300
commit8c7173a6e6ae0b81d96009b86cb88460daab2f4e (patch)
treeb8e30dfa79380eb8eb7b3e31938a041145b514f4 /test/org/traccar/protocol/DishaProtocolDecoderTest.java
parent3e21ab1485a956d3e4a62f3850939dc448fba9d8 (diff)
downloadtrackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.tar.gz
trackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.tar.bz2
trackermap-server-8c7173a6e6ae0b81d96009b86cb88460daab2f4e.zip
Fix Disha coordinates decoding issue
Diffstat (limited to 'test/org/traccar/protocol/DishaProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/DishaProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/DishaProtocolDecoderTest.java b/test/org/traccar/protocol/DishaProtocolDecoderTest.java
index e22de4f5c..99ceecc52 100644
--- a/test/org/traccar/protocol/DishaProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/DishaProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class DishaProtocolDecoderTest extends ProtocolTest {
DishaProtocolDecoder decoder = new DishaProtocolDecoder(new DishaProtocol());
verifyPosition(decoder, text(
+ "$A#A#864161028848856#A#182134#090116#2232.0191#N#08821.3278#E#001.74#231.4#04#01.5#1300#0#000#0000#9999#54.4#6407.7#0000*"),
+ position("2016-01-09 18:21:34.000", true, 22.53365, 88.35546));
+
+ verifyPosition(decoder, text(
"$A#A#353943046615971#A#064219#281113#1836.7267#N#07347.4177#E#000.00#280.4#09#00.8#3000#2#100#0000#8888#86.5#3919.1#0000*"));
}