From 9d26d56e297f7bdd147cb702a75d78584d7db6ec Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 10 Jul 2018 22:17:59 +0300 Subject: Support Continental extended precision --- test/org/traccar/protocol/ContinentalProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org') diff --git a/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java b/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java index fbc7c3219..95b3b409a 100644 --- a/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java +++ b/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java @@ -10,6 +10,10 @@ public class ContinentalProtocolDecoderTest extends ProtocolTest { ContinentalProtocolDecoder decoder = new ContinentalProtocolDecoder(new ContinentalProtocol()); + verifyPosition(decoder, binary( + "5356003216001eb48505025b4001e90f7f18ce0f00522200400001015b4001e9000e820100000c24000100014e0400736a7a"), + position("2018-07-06 23:57:29.000", true, -23.46609, -46.54497)); + verifyPosition(decoder, binary( "5356002A1100003039030243A68B5700FEB5AB00FD715F012700000143A68B57000E000000000C2F00000130"), position("2005-12-19 10:28:39.000", true, -23.49027, -46.55138)); -- cgit v1.2.3