From 511a7adb8bb39d1523b2f366c2288b2d0cb8b9a9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 25 Mar 2017 20:27:43 +1300 Subject: Adjustments to Telic decoder --- test/org/traccar/protocol/TelicProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/TelicProtocolDecoderTest.java b/test/org/traccar/protocol/TelicProtocolDecoderTest.java index f473bc8d5..6c3c30fea 100644 --- a/test/org/traccar/protocol/TelicProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TelicProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class TelicProtocolDecoderTest extends ProtocolTest { TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol()); + verifyPosition(decoder, text( + "232027997498,230317083900,0,230317083900,260105,444112,3,22,259,,,,111,61110817,226,01,00,255,218,00000000000000")); + + verifyPosition(decoder, text( + "072027997498,230317082635,0,230317082635,260332,444265,3,28,165,,,,124,61107582,226,01,00,255,219,00000000000000")); + verifyNothing(decoder, text( "0026203393|226|10|002004010")); -- cgit v1.2.3