Skip to content

Commit

Permalink
Add TT8850 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Dec 12, 2017
1 parent 30c269b commit 44ecf67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ public void testDecode() throws Exception {

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"));

Expand Down

0 comments on commit 44ecf67

Please sign in to comment.