From 672bad5be540ab114c6739567c130215724c6f05 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 28 Jan 2016 23:37:10 +1300 Subject: Add one more Visiontek unit test --- test/org/traccar/protocol/VisiontekProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol/VisiontekProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java index 613dd5311..f45ff714b 100644 --- a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java +++ b/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class VisiontekProtocolDecoderTest extends ProtocolTest { VisiontekProtocolDecoder decoder = new VisiontekProtocolDecoder(new VisiontekProtocol()); + verifyPosition(decoder, text( + "$1,117,28,01,16,15,05,48,1725.0518N,07824.5298E,0620,11,0,185,2062,0,0,0,1,1,1,1,24,00.0000,00.3740,00.0000,VAJRA V1.00,A")); + verifyPosition(decoder, text( "$1,VMC,358072044271838,26,10,15,10,43,20,17.066418N,080.395667E,000.0,285,00.8,0074,6390,0,0,0,0,0,0,0,0,00.00,00.00,00,00,0000,12.7,4.0,24,10,0000000000000,A,0")); -- cgit v1.2.3