diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-12 06:44:27 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-03-12 06:44:27 +1300 |
commit | b2ab0b471591494523b12e5f1810a481b2cd1a65 (patch) | |
tree | bc8c2921b3c4b71af4d8a9ec7523e53a9c342925 /test/org/traccar/protocol | |
parent | d8bbc2b6e8c1e7447f3e317747982b3c6362c66d (diff) | |
download | trackermap-server-b2ab0b471591494523b12e5f1810a481b2cd1a65.tar.gz trackermap-server-b2ab0b471591494523b12e5f1810a481b2cd1a65.tar.bz2 trackermap-server-b2ab0b471591494523b12e5f1810a481b2cd1a65.zip |
Cautela NMEA conversion protocol
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/CautelaProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CautelaProtocolDecoderTest.java b/test/org/traccar/protocol/CautelaProtocolDecoderTest.java new file mode 100644 index 000000000..4fd785c9f --- /dev/null +++ b/test/org/traccar/protocol/CautelaProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class CautelaProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + CautelaProtocolDecoder decoder = new CautelaProtocolDecoder(new CautelaProtocol()); + + verifyPosition(decoder, text( + "20,010907000000,14,02,18,16.816667,96.166667,1325,S,*2E")); + + } + +} |