From 8c099a4fb79d45cbab37a175f42597ec5772814b Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 1 Mar 2017 03:34:34 +1300 Subject: Add TK103 unit test case --- test/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java index e6ca3f218..09ace415c 100644 --- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol()); + verifyPosition(decoder, text( + "(325031693849BR00170228A5750.8012N02700.7476E000.2154529000.0000000200L00000000,170228,194530)")); + verifyPosition(decoder, text( "(087073803649BR00170221A6142.0334N02712.2197E000.3203149000.00,00000000L00000000)")); -- cgit v1.2.3