diff options
Diffstat (limited to 'test/org/traccar/ProtocolTest.java')
-rw-r--r-- | test/org/traccar/ProtocolTest.java | 3 |
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); |