aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/CautelaProtocolDecoderTest.java
blob: 28236c87f4642ef2ea2e53acb4cd7a2c224a9926 (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(null);

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

    }

}