aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/TelemaxProtocolDecoderTest.java
blob: e330600e5f9ae97697548633b0da31c9604c8e03 (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 {

        TelemaxProtocolDecoder decoder = new TelemaxProtocolDecoder(null);

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

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

    }

}