aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/TelemaxProtocolDecoderTest.java
blob: 8c3650f4e4d3287dc6a5abe971ab88c60ec8a3fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.traccar.protocol;

import org.junit.Test;
import org.traccar.ProtocolTest;

public class TelemaxProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = new TelemaxProtocolDecoder(null);

        verifyNull(decoder, text(
                "%067374070128"));

        verifyPositions(decoder, text(
                "Y000007C6999999067374074649003C00A7018074666F60D66818051304321900000000C5"));

    }

}