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

    @Test
    public void testDecode() throws Exception {

        var decoder = new MotorProtocolDecoder(null);

        verifyPosition(decoder, text(
                "341200007E7E00007E7E020301803955352401161766210162090501010108191625132655351234567F12345F"));

    }

}