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"));
}
}
|