diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-01 06:36:01 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-01 06:36:01 +1300 |
commit | 700f39377da8801377508357292862b18fafd16a (patch) | |
tree | 688b04f0fbddc4ceea31b4b25d725e2e571fbd53 /test/org | |
parent | 6f6d17da2c8de35b7f31d29a6d902536497550a4 (diff) | |
download | traccar-server-700f39377da8801377508357292862b18fafd16a.tar.gz traccar-server-700f39377da8801377508357292862b18fafd16a.tar.bz2 traccar-server-700f39377da8801377508357292862b18fafd16a.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 8d7d5f9fe..b6fb5bd0e 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( + "83092701131797081078220107010200dc583d4d3f583d4d3f19c70502cd1d512d00005f180000008500ec0800101eff980f090100313102000000000000000000")); + + verifyPosition(decoder, binary( "8305133303910501010102004557E5AB2457E3B3E01FD828DBFE9E3465000028C90000004201310704001EFFA12F0B22081BCA05000000000000000F87000E8E2F00EA029E0000082D")); verifyPosition(decoder, binary( |