From 1a86616ca2032fa0c3fee7446a6dc545f4f77451 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 5 Nov 2015 14:59:40 +1300 Subject: Partially refactor AutoFon 45 decoder --- test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java b/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java index 50df04117..547189a1e 100644 --- a/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AutoFon45ProtocolDecoderTest.java @@ -14,6 +14,10 @@ public class AutoFon45ProtocolDecoderTest extends ProtocolDecoderTest { verifyNothing(decoder, binary( "41032125656985547543619173484002123481")); + verifyPosition(decoder, binary( + "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"), + position("2010-01-27 04:00:08.000", true, 54.73838, 56.10343)); + verifyPosition(decoder, binary( "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C")); } -- cgit v1.2.3