diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-10 05:48:42 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-10 05:48:42 +1300 |
commit | a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9 (patch) | |
tree | b11e4865b0283f34bb94f4738e74b66f3201a85e /test/org | |
parent | bf02ae6cdfc1912e1fe7b87e0790ae89028717f4 (diff) | |
download | trackermap-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.tar.gz trackermap-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.tar.bz2 trackermap-server-a6b0e0fc80a763b93c8cccf0b40701b4368dd6b9.zip |
Add Suntech unit test case
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/SuntechProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java index ba2848348..0adc0f2b7 100644 --- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java +++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest { SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(new SuntechProtocol()); verifyPosition(decoder, text( + "SA200STT;638947;803;20170117;07:40:44;5d309;-01.287213;-047.917462;000.035;000.00;10;1;2036194;12.57;000000;1;0376;010360;4.2;1")); + + verifyPosition(decoder, text( "ST300ALT;205174410;14;712;20110101;00:00:07;00000;+20.593923;-100.336716;000.000;000.00;0;0;0;16.57;000000;81;000000;4.0;0;0.00;0000;0000;0;0")); verifyNothing(decoder, text( |