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

        MotorProtocolDecoder decoder = new MotorProtocolDecoder(null);

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

    }

}