From 257fceb3d8d844bdd9edb5f38e90387ab856670a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 9 May 2017 20:29:04 +1200 Subject: Add yuwei yw3000-y unit test --- test/org/traccar/protocol/YwtProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/test/org/traccar/protocol/YwtProtocolDecoderTest.java index 96031d510..bc91efa16 100644 --- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java +++ b/test/org/traccar/protocol/YwtProtocolDecoderTest.java @@ -9,6 +9,9 @@ public class YwtProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { YwtProtocolDecoder decoder = new YwtProtocolDecoder(new YwtProtocol()); + + verifyPosition(decoder, text( + "%RP,1222102985:1,170509033842,E102.146563,N14.582175,,0,320,10,0,00-00-00-00-00-00-00-00-00-00-00-00,,1db2-02b3-52004,3>941.523-32,7>1,19>-16,20>30.9V")); verifyNull(decoder, text( "%SN,0417061042:0,0,140117041203,404")); -- cgit v1.2.3