From 041c2b897c28dc316e8613c9ea38dee48dd64482 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 24 Feb 2019 18:06:39 -0800 Subject: Refactor motion handler --- test/org/traccar/MotionHandlerTest.java | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 test/org/traccar/MotionHandlerTest.java (limited to 'test/org/traccar/MotionHandlerTest.java') diff --git a/test/org/traccar/MotionHandlerTest.java b/test/org/traccar/MotionHandlerTest.java deleted file mode 100644 index fc6dce033..000000000 --- a/test/org/traccar/MotionHandlerTest.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.traccar; - -import static org.junit.Assert.assertEquals; - -import org.junit.Test; -import org.traccar.model.Position; - -public class MotionHandlerTest { - - @Test - public void testCalculateMotion() throws Exception { - - MotionHandler motionHandler = new MotionHandler(0.01); - - Position position = motionHandler.handlePosition(new Position()); - - assertEquals(false, position.getAttributes().get(Position.KEY_MOTION)); - - } - -} -- cgit v1.2.3