aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java
blob: 28b5d3be0d3c2d0665f3829c7d1dd5410d8f97fe (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 MtxProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = new MtxProtocolDecoder(null);

        verifyPosition(decoder, text(
                "#MTX,353815011138124,20101226,195550,41.6296399,002.3611174,000,035,000000.00,X,X,1111,000,0,0"));

    }

}