diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-22 13:26:45 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-07-22 13:27:07 +1200 |
commit | c92f37404893cce14a25379bcd84bb081e94f1b8 (patch) | |
tree | 024a7e0fcb4c90fc07929b182cae0edbe4261e93 /test | |
parent | ff600afeb4bce4b45e4cb8c11b668637ff6dea3a (diff) | |
download | traccar-server-c92f37404893cce14a25379bcd84bb081e94f1b8.tar.gz traccar-server-c92f37404893cce14a25379bcd84bb081e94f1b8.tar.bz2 traccar-server-c92f37404893cce14a25379bcd84bb081e94f1b8.zip |
Workaround for incorrect hemisphere (fix #2139)
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/WatchProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/test/org/traccar/protocol/WatchProtocolDecoderTest.java index 89e9a7e77..a8f7b12bc 100644 --- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java +++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class WatchProtocolDecoderTest extends ProtocolTest { WatchProtocolDecoder decoder = new WatchProtocolDecoder(new WatchProtocol()); verifyPosition(decoder, text( + "[3G*6105117105*008D*UD2,210716,231601,V,-33.480366,N,-70.7630692,E,0.00,0.0,0.0,0,100,34,0,0,00000000,3,255,730,2,29731,54315,167,29731,54316,162,29731,54317,145"), + position("2016-07-21 23:16:01.000", false, -33.48037, -70.76307)); + + verifyPosition(decoder, text( "[3G*4700222306*0077*UD,120316,140610,V,48.779045,N, 9.1574736,E,0.00,0.0,0.0,0,25,83,0,0,00000000,2,255,262,1,21041,9067,121,21041,5981,116")); verifyPosition(decoder, text( |