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

    @Test
    public void testDecode() throws Exception {

        CradlepointProtocolDecoder decoder = new CradlepointProtocolDecoder(new CradlepointProtocol());

        verifyPosition(decoder, text(
                "+12084014675,162658,4337.174385,N,11612.338373,W,0.0,,Verizon,,-71,-44,-11,,"));

    }

}