diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-12-13 02:57:54 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-12-13 02:57:54 +1300 |
commit | 44ecf67fef0cce59430e6216fcd2dfa4d5c2bcbd (patch) | |
tree | 0a178271a34e7a80cce6b117186387ea60886526 /test/org/traccar | |
parent | 30c269bb3e7994eb94e3f53704b3c6ef6d3d124a (diff) | |
download | trackermap-server-44ecf67fef0cce59430e6216fcd2dfa4d5c2bcbd.tar.gz trackermap-server-44ecf67fef0cce59430e6216fcd2dfa4d5c2bcbd.tar.bz2 trackermap-server-44ecf67fef0cce59430e6216fcd2dfa4d5c2bcbd.zip |
Add TT8850 test case
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ -11,6 +11,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")); verifyPosition(decoder, text( |