diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-23 00:51:38 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-08-23 00:51:38 +1200 |
commit | ebd193d4d5a98f7b53cc229f1c7287d05465b13e (patch) | |
tree | f3f99d7c7ce3f2d008a81b5cf630f5a900ac009f /test/org/traccar/protocol/EskyProtocolDecoderTest.java | |
parent | 10e801928c521456fa54019d878093dc0538de8a (diff) | |
download | trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.gz trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.tar.bz2 trackermap-server-ebd193d4d5a98f7b53cc229f1c7287d05465b13e.zip |
Handle eSky negative coords
Diffstat (limited to 'test/org/traccar/protocol/EskyProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/EskyProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EskyProtocolDecoderTest.java b/test/org/traccar/protocol/EskyProtocolDecoderTest.java index 52dff971f..0617ba8a9 100644 --- a/test/org/traccar/protocol/EskyProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EskyProtocolDecoderTest.java @@ -10,6 +10,12 @@ public class EskyProtocolDecoderTest extends ProtocolTest { EskyProtocolDecoder decoder = new EskyProtocolDecoder(new EskyProtocol()); + verifyNull(decoder, text( + "EL;1;864906029196626;170822143426;")); + + verifyPosition(decoder, text( + "EO;0;864906029196626;R;7+170822143646+-26.10806+27.94600+0.40+0+0x1+0+102540+0+1242")); + verifyPosition(decoder, text( "EO;0;864906029196626;R;0+170808155352+0.00000+0.00000+0.00+0+0x1+0+0+0+1233")); |