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(
                "7051,3041,1121,30179295,710,300518,40443,-93429140,-354560540,0,23437,3983,0,1,0,0,12433,100,22,32,4898"));

    }

}

@@ -287,17 +287,33 @@
 ocol());
+                
 %0A
-
 %0A       
@@ -363,93 +363,92 @@
     
-%22705
+  %22%5B706
 1,3041,
-1121,30179295,710,300518,40443,-934291
+57,20324277,710,40618,141342,-931558
 40,-3
+717
 54
-5
+0
 60
-540
 ,0,2
-3437,3983,0
+0469,0,16
 ,1,0,0,1
 2433
@@ -447,27 +447,28 @@
 ,0,1
-243
+132
 3,100,
-22
+9,
 ,32,4
-898
+695%5D
 %22));

Update Protocol Test Svias