Skip to content

Commit

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

HuabaoProtocolDecoder decoder = new HuabaoProtocolDecoder(new HuabaoProtocol());

verifyPosition(decoder, binary(
"7e02000054093037612710000700000000000000010223aca000dc9dd800000000000017121417122133362a4d30302c34352c31313336393042383030313233303026303030303030303030303030263132333435363738393031323334353623897e"));

verifyPosition(decoder, binary(
"7e0200002c00160128561400020000000000040001005de1f7065c6cef00000000000017011710044201040000a9002a02000030011b3101030c7e"));

Expand Down

0 comments on commit c2e96b3

Please sign in to comment.