Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ioxua committed Jan 12, 2021
1 parent 97e497f commit ec0201b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 47 deletions.
27 changes: 21 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.skywalker</groupId>
<artifactId>coordinate-converter</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Coordinate Converter</name>
</project>
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.skywalker</groupId>
<artifactId>coordinate-converter</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Coordinate Converter</name>

<properties>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
38 changes: 0 additions & 38 deletions src/main/java/br/com/skywalker/coordinateconverter/Main.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class CoordinatesConverterTest {
public void testDDToDMS() {
DecimalDegreesCoordinates coordinates = new DecimalDegreesCoordinates(-46.1795700000, -23.5151100000,
Datums.SAD69);
assertEquals("46° 10' 46,4520\" S 23° 30' 54,3960\" W",
assertEquals("46° 10' 46.4520\" S 23° 30' 54.3960\" W",
CoordinatesConverter.toDMS(coordinates).toString());
}

Expand All @@ -31,7 +31,7 @@ public void testDDToUTMCorregoAlegre() {
assertEquals(305777.4495, utmCoordinates.getX(), 0.01);
assertEquals(4882850.0889, utmCoordinates.getY(), 0.01);
}

@Test
public void testDDToUTMWGS84() {
DecimalDegreesCoordinates coordinates = new DecimalDegreesCoordinates(-46.1795700000, -23.5151100000,
Expand All @@ -40,7 +40,7 @@ public void testDDToUTMWGS84() {
assertEquals(305861.6300, utmCoordinates.getX(), 0.01);
assertEquals(4882853.4451, utmCoordinates.getY(), 0.01);
}

@Test
public void testDDToUTMSIRGAS2000() {
DecimalDegreesCoordinates coordinates = new DecimalDegreesCoordinates(-46.1795700000, -23.5151100000,
Expand Down

0 comments on commit ec0201b

Please sign in to comment.