From 58aace7ede3efa557ec125470c50161e7cfae97a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 12 Feb 2016 09:10:09 +1100 Subject: Add MXT protocol test case --- test/org/traccar/protocol/MxtProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/org/traccar/protocol/MxtProtocolDecoderTest.java b/test/org/traccar/protocol/MxtProtocolDecoderTest.java index 37373c8de..014fcb287 100644 --- a/test/org/traccar/protocol/MxtProtocolDecoderTest.java +++ b/test/org/traccar/protocol/MxtProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class MxtProtocolDecoderTest extends ProtocolTest { MxtProtocolDecoder decoder = new MxtProtocolDecoder(new MxtProtocol()); + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, + "01a631144c7e0008643ad2f456fb2d49747cfe4cbe0ffd002008800000001021000fd43d3f1403000000ff300000f42760001031102445a81fda04")); + verifyPosition(decoder, binary(ByteOrder.LITTLE_ENDIAN, "01a631361e7a00082471418b052a2c46b587ffc01ae3fd000008800000000000003345422203000000f000f00000000000ea1e04")); -- cgit v1.2.3