diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-08 11:31:31 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-08 11:31:31 +1200 |
commit | 318a881e57246f9714a9284ce0486fdc59186cf9 (patch) | |
tree | 1030b1d21d36aa2a95083d8a68844c6dd88ce888 /test/org | |
parent | 26ffc10d1709d77edac28a0c92abb0a9afefbe12 (diff) | |
parent | 7d83f65d3b2f9f57f3c1a4fc1288272571662f55 (diff) | |
download | trackermap-server-318a881e57246f9714a9284ce0486fdc59186cf9.tar.gz trackermap-server-318a881e57246f9714a9284ce0486fdc59186cf9.tar.bz2 trackermap-server-318a881e57246f9714a9284ce0486fdc59186cf9.zip |
Merge pull request #3900 from michaelloliveira/master
Add Vias 700 Protocol Encoder and Decoder
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/SviasProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SviasProtocolDecoderTest.java b/test/org/traccar/protocol/SviasProtocolDecoderTest.java new file mode 100644 index 000000000..064ab16f1 --- /dev/null +++ b/test/org/traccar/protocol/SviasProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class SviasProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + SviasProtocolDecoder decoder = new SviasProtocolDecoder(new SviasProtocol()); + + verifyPosition(decoder, text( + "[7061,3041,57,20324277,710,40618,141342,-93155840,-371754060,0,20469,0,16,1,0,0,11323,100,9,,32,4695]")); + + } + +} |