From de640f41f5a60b75edfac0ba7640aedd879450fb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 16 Dec 2016 02:37:10 +1300 Subject: Decode AutoGrade status as positive --- test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java b/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java index 58e2e4065..a1b715f1c 100644 --- a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java +++ b/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class AutoGradeProtocolDecoderTest extends ProtocolTest { AutoGradeProtocolDecoder decoder = new AutoGradeProtocolDecoder(new AutoGradeProtocol()); + verifyPosition(decoder, text( + "(000000001637868324027912356171116A2250.7611N07556.9425E000.9024427197.36\u008eA0000B0000C0000D0000E0000K0000L0000M0000N0000O0000)")); + verifyPosition(decoder, text( "(000000007322865733022629240170415A1001.1971N07618.1375E0.000145312128.59?A0024B0024C0000D0000E0000K0000L0000M0000N0000O0000")); -- cgit v1.2.3