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

    @Test
    public void testDecode() throws Exception {

        PortmanProtocolDecoder decoder = new PortmanProtocolDecoder(null);

        verifyPosition(decoder, text(
                "$PTMLA,355854050074633,A,200612153351,N2543.0681W10009.2974,0,190,NA,C9830000,NA,108,8,2.66,16,GNA"));

    }

}