From 44ecf67fef0cce59430e6216fcd2dfa4d5c2bcbd Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 13 Dec 2017 02:57:54 +1300 Subject: Add TT8850 test case --- test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java b/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java index 6c8302ed1..3e8c80e40 100644 --- a/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Tt8850ProtocolDecoderTest extends ProtocolTest { Tt8850ProtocolDecoder decoder = new Tt8850ProtocolDecoder(new Tt8850Protocol()); + verifyPosition(decoder, text( + "\u0000\u0004,007F,0,GTFRI,020102,867844000667538,4142726856,0,0,1,3,1.6,0,997.3,-66.830786,10.483394,20171212171418,0734,0004,041A,4220,69,20171212171657,FF61")); + verifyPosition(decoder, text( "\u0000\u0004,005F,0,GTFRI,020100,135790246811220,,0,0,1,1,4.3,92,70.0,121.354335,31.222073,20090214013254,0460,0000,18d8,6141,90,20090214093254,11F0")); -- cgit v1.2.3