aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
index 6b65b2c4c..bc1c8e112 100644
--- a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
@@ -12,6 +12,14 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest {
var decoder = new Tlt2hProtocolDecoder(null);
verifyPositions(decoder, text(
+ "#867198059727390#MT700#0000#AUTO#1\r\n",
+ "#38$GPRMC,105721.00,A,2238.3071,N,11401.7575,E,,96.70,250321,,,A*74\r\n"));
+
+ verifyPositions(decoder, false, text(
+ "#867198059727390#MT700#0000#AUTO#1\r\n",
+ "#40$WIFI,123532.00,A,-62,D8325A0ABADD,-64,EC172F8965BC,-64,7405A5D457D4,260321*07\r\n"));
+
+ verifyPositions(decoder, text(
"#860425040088567#MT600+#0000#0#1#129#40#0#AUTOLOW#1\r\n",
"#000321901$GPRMC,172030.00,A,4845.2906,N,01910.2742,E,0.01,,041219,,,A*43\r\n"));