aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/ProtocolTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-06 21:59:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-06 21:59:44 +1300
commit0f2a1c47fd62aeeae8e4513280e2950fdf596cf6 (patch)
tree23a57584d38edec6bbc3e621902dfeadde202333 /test/org/traccar/ProtocolTest.java
parent681057b88e91c5c64c1f6b8780676d5172ea7c6f (diff)
downloadtrackermap-server-0f2a1c47fd62aeeae8e4513280e2950fdf596cf6.tar.gz
trackermap-server-0f2a1c47fd62aeeae8e4513280e2950fdf596cf6.tar.bz2
trackermap-server-0f2a1c47fd62aeeae8e4513280e2950fdf596cf6.zip
Implement TZ AVL05 protocol (fix #2751)
Diffstat (limited to 'test/org/traccar/ProtocolTest.java')
-rw-r--r--test/org/traccar/ProtocolTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/ProtocolTest.java b/test/org/traccar/ProtocolTest.java
index 43be1a59e..20e033e3b 100644
--- a/test/org/traccar/ProtocolTest.java
+++ b/test/org/traccar/ProtocolTest.java
@@ -154,6 +154,9 @@ public class ProtocolTest extends BaseTest {
Assert.assertTrue("latitude >= -90", position.getLatitude() >= -90);
Assert.assertTrue("latitude <= 90", position.getLatitude() <= 90);
+ Assert.assertTrue("longitude >= -180", position.getLongitude() >= -180);
+ Assert.assertTrue("longitude <= 180", position.getLongitude() <= 180);
+
}
Assert.assertTrue("altitude >= -12262", position.getAltitude() >= -12262);