aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-16 19:52:16 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-16 19:52:16 -0700
commit90ddc7b95e3879c20d6d8f7e8b96df87e0ec1f66 (patch)
treef7f15260bb0795c92e17942794ff95a02daf8100 /src/test/java/org/traccar/protocol
parentb0339ffbb2756a2ef601270f5b163015b57e8773 (diff)
downloadtraccar-server-90ddc7b95e3879c20d6d8f7e8b96df87e0ec1f66.tar.gz
traccar-server-90ddc7b95e3879c20d6d8f7e8b96df87e0ec1f66.tar.bz2
traccar-server-90ddc7b95e3879c20d6d8f7e8b96df87e0ec1f66.zip
Fix coordinates decoding
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/NiotProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/NiotProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NiotProtocolDecoderTest.java
index 8787e8c51..e436fb4ed 100644
--- a/src/test/java/org/traccar/protocol/NiotProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NiotProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class NiotProtocolDecoderTest extends ProtocolTest {
NiotProtocolDecoder decoder = new NiotProtocolDecoder(null);
verifyPosition(decoder, binary(
+ "585880004c08675430347318522007161451458024b28003f566ee00000328f8000748217ffc500729007a280000000000160001383932353430323130363431363738373136323100050002004e00570d"),
+ position("2020-07-16 14:51:45.000", true, -1.33611, 36.89684));
+
+ verifyPosition(decoder, binary(
"585880004c08675430355777182005201100468024121b03f390ba00000105f8000b8d207ffc5f0f290084500000000000160001383932353430323130363431363839323430303700050002004e55940d"));
verifyPosition(decoder, binary(