diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-15 16:22:16 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-15 16:22:16 +1300 |
commit | bd00157391f3989b5cfb36fd780446424bb1d7af (patch) | |
tree | 194c1a46a4e208a527b63e9afbe812ea398ad7cb /test | |
parent | 8023e4e3de6fa791157bdec913abcafb511512c9 (diff) | |
download | traccar-server-bd00157391f3989b5cfb36fd780446424bb1d7af.tar.gz traccar-server-bd00157391f3989b5cfb36fd780446424bb1d7af.tar.bz2 traccar-server-bd00157391f3989b5cfb36fd780446424bb1d7af.zip |
Handle decimal altitude
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java b/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java index eaa28906e..0eea02de7 100644 --- a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class Xrb28ProtocolDecoderTest extends ProtocolTest { Xrb28ProtocolDecoder decoder = new Xrb28ProtocolDecoder(null); + verifyPosition(decoder, text( + "*SCOR,OM,867584030387299,D0,0,012102.00,A,0608.00062,S,10659.70331,E,12,0.69,151118,30.3,M,A#")); + verifyNull(decoder, text( "*SCOR,OM,863158022988725,H0,0,412,28,80,0#")); |