aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/DIstanceCalculatorTest.java
blob: 293cbb1140c90d444de906ec88ca8adac9131c61 (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);
    }

}