aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/CautelaProtocolDecoderTest.java
blob: 4fd785c9f3e8020d7c9d4dc0dee6fec1fddf8c59 (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 CautelaProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        CautelaProtocolDecoder decoder = new CautelaProtocolDecoder(new CautelaProtocol());

        verifyPosition(decoder, text(
                "20,010907000000,14,02,18,16.816667,96.166667,1325,S,*2E"));

    }

}