aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java
blob: 8a5e228c7b52c5cf2323637289b4454db5956f84 (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 = inject(new MtxProtocolDecoder(null));

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

    }

}