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

    @Test
    public void testDecode() throws Exception {

        AvemaProtocolDecoder decoder = new AvemaProtocolDecoder(null);

        verifyPosition(decoder, text(
                "1130048939,20120224000129,121.447487,25.168025,0,0,0,0,3,0.0,1,0.02V,14.88V,0,1,24,4,46608,F8BC,F9AD,CID0000028"));

    }

}