aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
blob: 9e61ee52a58965e42e399c5aadb9e55c889120bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.traccar.protocol;

import org.junit.Test;
import org.traccar.helper.TestIdentityManager;

import static org.junit.Assert.assertNull;
import static org.traccar.helper.DecoderVerifier.verify;

public class Ardi01ProtocolDecoderTest extends ProtocolDecoderTest {

    @Test
    public void testDecode() throws Exception {

        Ardi01ProtocolDecoder decoder = new Ardi01ProtocolDecoder(new Ardi01Protocol());

        verify(decoder.decode(null, null,
                "013227003054776,20141010052719,24.4736042,56.8445807,110,289,40,7,5,78,-1"));

    }

}