aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 20:30:10 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-11-11 20:30:10 -0800
commit113f9a7a1295eb84174c40cb7f4bed61bdec2423 (patch)
tree89fb758cfbc29734850ec0aec74fe9874cdd94a8 /src/test
parent965ef9eb530963e71ce33c2a06af389c78192b51 (diff)
downloadtrackermap-server-113f9a7a1295eb84174c40cb7f4bed61bdec2423.tar.gz
trackermap-server-113f9a7a1295eb84174c40cb7f4bed61bdec2423.tar.bz2
trackermap-server-113f9a7a1295eb84174c40cb7f4bed61bdec2423.zip
Add test case
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
index 5dd7059e2..5d22344fa 100644
--- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class StartekProtocolDecoderTest extends ProtocolTest {
var decoder = new StartekProtocolDecoder(null);
verifyPosition(decoder, text(
+ "&&o142,860262050066062,000,27,,211111070826,V,28.653435,-106.077455,0,0.0,0,151,1412,918,0|0|4708|01402D19,6,0000001A,02,00,04C0|016C|0000|0000,1,,,BB"));
+
+ verifyPosition(decoder, text(
"&&W149,865429043319537,000,0,,211103013512,A,22.679003,114.045085,16,1.1,0,271,76,109075,460|0|249F|000010C5,19,0000003E,00,00,0A57|0168|0000|0000,1,0100000C"));
verifyAttribute(decoder, text(