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.ProtocolDecoderTest;
public class MtxProtocolDecoderTest extends ProtocolDecoderTest {
@Test
public void testDecode() throws Exception {
MtxProtocolDecoder decoder = new MtxProtocolDecoder(new MtxProtocol());
verifyPosition(decoder, text(
"#MTX,353815011138124,20101226,195550,41.6296399,002.3611174,000,035,000000.00,X,X,1111,000,0,0"));
}
}
|