diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-11 21:47:23 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-11 21:47:23 +1200 |
commit | 753779ee7c3e08693ccb349fb51fee9f8fa8858c (patch) | |
tree | 20ec6e1366d9c82f0b2f452bd10c408b46a170d7 /test/org | |
parent | a11b2887789f962a55dd3cd219b493f3a148ec98 (diff) | |
download | traccar-server-753779ee7c3e08693ccb349fb51fee9f8fa8858c.tar.gz traccar-server-753779ee7c3e08693ccb349fb51fee9f8fa8858c.tar.bz2 traccar-server-753779ee7c3e08693ccb349fb51fee9f8fa8858c.zip |
Add CalAmp 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 bf0fcf41c..ecbef341d 100644 --- a/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java +++ b/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class CalAmpProtocolDecoderTest extends ProtocolTest { CalAmpProtocolDecoder decoder = new CalAmpProtocolDecoder(new CalAmpProtocol()); verifyPosition(decoder, binary( + "83051633033459010101028afd59ae7c1459ae7c140b06bbce2c01520e0000d916000001b900450900005affa50f091f00260d040000000f24000001b90000000000003714")); + + verifyPosition(decoder, binary( "83092701131797081078220107010200dc583d4d3f583d4d3f19c70502cd1d512d00005f180000008500ec0800101eff980f090100313102000000000000000000")); verifyPosition(decoder, binary( |