Commit 343b32e3 authored by Matija Obreza's avatar Matija Obreza
Browse files

TilesMathTest updated

parent 9a1f70fc
......@@ -17,10 +17,9 @@ public class TilesMathTest {
assertEquals(0.0, tileToLon(1, 1), 0);
assertEquals(180.0, tileToLon(1, 2), 0);
System.err.println("tileToLat=" + tileToLat(1, 0));
assertEquals(85.0, tileToLat(1, 0), 0);
assertEquals(0.0, tileToLat(1, 1), 0);
assertEquals(-86, tileToLat(1, 2), 0);
assertEquals(85.0, tileToLat(1, 0), 0.1);
assertEquals(0.0, tileToLat(1, 1), 0.1);
assertEquals(-85, tileToLat(1, 2), 0.1);
assertEquals(0, tileToLon(2, 2), 0);
assertEquals(90, tileToLon(2, 3), 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment