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

    @Test
    public void testDecode() throws Exception {

        TopflytechProtocolDecoder decoder = new TopflytechProtocolDecoder(new TopflytechProtocol());

        verifyPosition(decoder, text(
                "(880316890094910BP00XG00b600000000L00074b54S00000000R0C0F0014000100f0130531152205A0706.1395S11024.0965E000.0251.25"));

    }

}