diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-16 23:00:41 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-16 23:00:41 +1300 |
commit | 84cfff96f1ebeb439064b58284d75cfa6853441b (patch) | |
tree | 75b5f0ffc19e9edce27cbb9187763f00662095d5 /test/org/traccar/protocol/TotemProtocolDecoderTest.java | |
parent | 00caa503748a1dad3349bfb8444ef766efd60633 (diff) | |
download | trackermap-server-84cfff96f1ebeb439064b58284d75cfa6853441b.tar.gz trackermap-server-84cfff96f1ebeb439064b58284d75cfa6853441b.tar.bz2 trackermap-server-84cfff96f1ebeb439064b58284d75cfa6853441b.zip |
Add AT07 protocol test case
Diffstat (limited to 'test/org/traccar/protocol/TotemProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/TotemProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TotemProtocolDecoderTest.java b/test/org/traccar/protocol/TotemProtocolDecoderTest.java index 89400fe22..404d29796 100644 --- a/test/org/traccar/protocol/TotemProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TotemProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class TotemProtocolDecoderTest extends ProtocolTest { TotemProtocolDecoder decoder = new TotemProtocolDecoder(new TotemProtocol()); verifyPosition(decoder, text( + "$$0112AA864244026065291|180018001409160205244011000027BA0E57063100000001.200000002237.8119N11403.5075E05202D")); + + verifyPosition(decoder, text( "$$0116AA864244026065291|18001800140916020524401100000000000027BA0E57063100000001.200000002237.8119N11403.5075E052020")); verifyPosition(decoder, text( |