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

    @Test
    public void testDecode() throws Exception {

        PretraceProtocolDecoder decoder = new PretraceProtocolDecoder(new PretraceProtocol());

        verifyPosition(decoder, text(
                "(867967021915915U1110A1701201500102238.1700N11401.9324E000264000000000009001790000000,&P11A4,F1050^47"));

    }

}