aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-09 11:05:58 -0400
committerLeandro Silva Ferreira <leandrosilvaferreira@gmail.com>2012-08-09 11:05:58 -0400
commit4709481ccb413fe04e21abb8be3165ec78ee18ef (patch)
treec92a48a776e991a3d2697c2e9754fdae7c3a7f76
parent7c3649250d4905b1c7024d2e85faebf9467f865a (diff)
downloadtraccar-server-4709481ccb413fe04e21abb8be3165ec78ee18ef.tar.gz
traccar-server-4709481ccb413fe04e21abb8be3165ec78ee18ef.tar.bz2
traccar-server-4709481ccb413fe04e21abb8be3165ec78ee18ef.zip
Added new tests for PWR_VOLT field with different values.
-rw-r--r--test/org/traccar/protocol/ST210ProtocolDecoderTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
index c300c056b..d14f60201 100644
--- a/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/ST210ProtocolDecoderTest.java
@@ -71,6 +71,14 @@ public class ST210ProtocolDecoderTest {
.decode(null,
null,
"SA200STT;317652;042;20120722;00:24:23;16d41;-15.618767;-056.083214;000.011;000.00;11;1;41557;12.21;000000;1;3205"));
+ assertNotNull(decoder
+ .decode(null,
+ null,
+ "SA200STT;315198;042;20120808;20:37:34;42948;-15.618731;-056.083216;000.007;000.00;12;1;48;0.00;000000;1;0127"));
+ assertNotNull(decoder
+ .decode(null,
+ null,
+ "SA200STT;315198;042;20120809;13:43:34;16d41;-15.618709;-056.083223;000.025;000.00;8;1;49;12.10;100000;2;0231"));
}
}