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

    @Test
    public void testDecode() throws Exception {

        AutoGradeProtocolDecoder decoder = new AutoGradeProtocolDecoder(new AutoGradeProtocol());

        verifyPosition(decoder, text(
                "(000000007322865733022629240170415A1001.1971N07618.1375E0.000145312128.59?A0024B0024C0000D0000E0000K0000L0000M0000N0000O0000"));

    }

}