aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java
blob: 86a72cc2dfb88134f4862c1eecf6f2a2cfe68658 (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 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"));

    }

}