From b7e53f57689e1f8a1c0705aeea32dc6e69f3fcb3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 8 Mar 2017 08:13:18 +1300 Subject: Add Laipac unit test case --- test/org/traccar/protocol/LaipacProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java index d1fafe71a..b1bb954db 100644 --- a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java +++ b/test/org/traccar/protocol/LaipacProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class LaipacProtocolDecoderTest extends ProtocolTest { LaipacProtocolDecoder decoder = new LaipacProtocolDecoder(new LaipacProtocol()); + verifyPosition(decoder, text( + "$AVRMC,80006405,212645,r,3013.9938,N,08133.3998,W,0.00,0.00,010317,a,4076,0,1,0,0,53170583,310260*78")); + verifyNothing(decoder, text( "$AVSYS,99999999,V1.50,SN0000103,32768*15")); -- cgit v1.2.3