aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SviasProtocolDecoderTest.java
blob: b80ca38d48429118fac654569e1f1ebb934e4cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"));

    }

}