Skip to content

Commit

Permalink
Add GT06 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jul 9, 2018
1 parent 86ac75e commit 5603d7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public void testDecode() throws Exception {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));

verifyNull(decoder, binary(
"797900a59404414c4d313d34353b414c4d323d44353b414c4d333d35353b535441313d34303b4459443d30313b534f533d303538353036313536372c2c3b43454e5445523d3b46454e43453d46656e63652c4f46462c302c302e3030303030302c302e3030303030302c3330302c494e206f72204f55542c303b49434349443d38393937313033313031303038393539303432463b4d4f44453d4d4f44452c312c3138303b0008f65e0d0a"));

verifyPosition(decoder, binary(
"78782222120616083817c5050cc8c801a819d600152400e8011dbf003332000000004862500d0a"));

Expand Down

0 comments on commit 5603d7b

Please sign in to comment.