aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/DistanceCalculatorTest.java
blob: 7bbb4e3b1c4c049ca67c0184fe96064a7d1a3869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.traccar.helper;

import org.junit.Assert;
import org.junit.Test;

public class DistanceCalculatorTest {
    
    @Test
    public void testDistance() {
        Assert.assertEquals(
                DistanceCalculator.distance(0.0, 0.0, 0.05, 0.05), 7863.0, 10.0);
    }

}