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

    @Test
    public void testDecode() throws Exception {

        HunterProProtocolDecoder decoder = new HunterProProtocolDecoder(new HunterProProtocol());

        verifyPosition(decoder, text(
                ">0002<$GPRMC,170559.000,A,0328.3045,N,07630.0735,W,0.73,266.16,200816,,,A77, s000078015180\",0MD"));

    }

}