blob: 3131ee1df80d861a0afd058a6f9054c337f2c5ca (
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.jupiter.api.Test;
import org.traccar.ProtocolTest;
public class DingtekProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
var decoder = inject(new DingtekProtocolDecoder(null));
verifyPosition(decoder, text(
"800001011e0692001a00000000016e008027c40000186962703655111781"));
verifyNull(decoder, text(
"8000010333020E180A1E4B1E124801042015693400000000173.249.23.186;6181;159.138.4.6;8888;000000000000000081"));
}
}
|