blob: 548154b22900f62bb8d13ff03ddef240818f42f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package org.traccar.protocol;
import org.junit.Assert;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class Gps056FrameDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
Gps056FrameDecoder decoder = new Gps056FrameDecoder();
Assert.assertEquals(
binary("242432354c4f474e5f3131383632343632303333373832393436322e3123"),
decoder.decode(null, null, binary("242432354c4f474e5f3131383632343632303333373832393436322e3123")));
}
}
|