From 4709481ccb413fe04e21abb8be3165ec78ee18ef Mon Sep 17 00:00:00 2001 From: Leandro Silva Ferreira Date: Thu, 9 Aug 2012 11:05:58 -0400 Subject: Added new tests for PWR_VOLT field with different values. --- test/org/traccar/protocol/ST210ProtocolDecoderTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/org/traccar/protocol') 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")); } } -- cgit v1.2.3