diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 10:57:25 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-12 10:57:25 +1200 |
commit | 077f620833aefd296e9027b07aeb86c0571ae8d9 (patch) | |
tree | 3aaaadd0a7be18a51bca0a9749f3e32df8346e8b /test/org | |
parent | e966778c43ee4a2fa12705cded8648b96ef78f61 (diff) | |
download | trackermap-server-077f620833aefd296e9027b07aeb86c0571ae8d9.tar.gz trackermap-server-077f620833aefd296e9027b07aeb86c0571ae8d9.tar.bz2 trackermap-server-077f620833aefd296e9027b07aeb86c0571ae8d9.zip |
Add CalAmp unit test case
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/CalAmpProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
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")); |