blob: d716a5ec7cd4e6002ad131de2f1ea1201879fbdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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.calculateMotion(new Position());
assertEquals(false, position.getAttributes().get(Position.KEY_MOTION));
}
}
|