From 077f620833aefd296e9027b07aeb86c0571ae8d9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 12 Jun 2016 10:57:25 +1200 Subject: Add CalAmp unit test case --- test/org/traccar/protocol/CalAmpProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org') diff --git a/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java b/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java index 247454de3..238e6df3f 100644 --- a/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java @@ -9,6 +9,9 @@ public class CalAmpProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { CalAmpProtocolDecoder decoder = new CalAmpProtocolDecoder(new CalAmpProtocol()); + + verifyPosition(decoder, binary( + "83052132052924010101020001575c590300000000000000000000000000000000000000000000002c0000ff8f0000030801010000")); verifyPosition(decoder, binary( "830543321494860101010a0080560b5a5e0eadd0291becf3c500f005090f1f3305000003010040c0a600000000000000008b12a102")); -- cgit v1.2.3