aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/CautelaProtocolDecoderTest.java
blob: dd8b812fa6bd6fb1385f445e205b9b430ed61f8a (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.jupiter.api.Test;
import org.traccar.ProtocolTest;

public class CautelaProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = inject(new CautelaProtocolDecoder(null));

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

    }

}