aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SviasProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-08 14:05:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-08 14:05:41 +1200
commitacf93dbe1b5c03df4f8f82ffb7fb0cace767a416 (patch)
tree9751732b537a86285c49eb41b568289260e8afb9 /test/org/traccar/protocol/SviasProtocolDecoderTest.java
parent6c68a7531289c4166b7e8ea58fc1ffdbe4893ed4 (diff)
downloadtrackermap-server-acf93dbe1b5c03df4f8f82ffb7fb0cace767a416.tar.gz
trackermap-server-acf93dbe1b5c03df4f8f82ffb7fb0cace767a416.tar.bz2
trackermap-server-acf93dbe1b5c03df4f8f82ffb7fb0cace767a416.zip
Clean up Svias decoder
Diffstat (limited to 'test/org/traccar/protocol/SviasProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SviasProtocolDecoderTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/SviasProtocolDecoderTest.java b/test/org/traccar/protocol/SviasProtocolDecoderTest.java
index 064ab16f1..3bf355a15 100644
--- a/test/org/traccar/protocol/SviasProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SviasProtocolDecoderTest.java
@@ -11,7 +11,13 @@ public class SviasProtocolDecoderTest extends ProtocolTest {
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]"));
+ "[7061,3041,57,20324277,710,40618,141342,-93155840,-371754060,0,20469,0,16,1,0,0,11323,100,9,,32,4695"));
+
+ verifyPosition(decoder, text(
+ "[7041,3041,8629,20856286,710,60618,201027,-92268040,-371346250,7994,31844,38271,16,1,0,0,13416,100,0,0,5089"));
+
+ verifyPosition(decoder, text(
+ "[7051,3041,15270,30179873,710,70618,40335,-94679080,-360604930,0,35454,23148,0,1,0,0,12542,100,13,32,4971"));
}