aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/TopflytechProtocolDecoderTest.java
blob: 67b04446e1c23065b86b37951d8170c0286f3174 (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.jupiter.api.Test;
import org.traccar.ProtocolTest;

public class TopflytechProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        var decoder = inject(new TopflytechProtocolDecoder(null));

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

    }

}