diff -r 1eecc767a610 -r bf21a4abea9b java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java --- a/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java Tue May 25 17:22:31 2010 +0200 +++ b/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java Sat Jan 08 20:18:27 2011 +0100 @@ -10,38 +10,38 @@ */ public class GeoTest { - private Geo geo = new Geo(); - private static final int CASOVY_LIMIT = 1000; + private Geo geo = new Geo(); + private static final int CASOVY_LIMIT = 1000; - @Test(timeout = CASOVY_LIMIT) - public void praha() { - testuj("Praha, Czech Republic", 50.0878114, 14.4204598); - } + @Test(timeout = CASOVY_LIMIT) + public void praha() { + testuj("Praha, Czech Republic", 50.0878114, 14.4204598); + } - @Test(timeout = CASOVY_LIMIT) - public void sanghaj() { - // https://frantovo.cz/blog/?q=cina-sanghaj-mesto-lide :-) - testuj("Shanghai, China", 31.230708, 121.472916); - } + @Test(timeout = CASOVY_LIMIT) + public void sanghaj() { + // https://frantovo.cz/blog/?q=cina-sanghaj-mesto-lide :-) + testuj("Shanghai, China", 31.230708, 121.472916); + } - @Test(timeout = CASOVY_LIMIT) - public void dallas() { - testuj("Dallas, TX", 32.802955, -96.769923); - } + @Test(timeout = CASOVY_LIMIT) + public void dallas() { + testuj("Dallas, TX", 32.802955, -96.769923); + } - @Test(timeout = CASOVY_LIMIT) - public void moskva() { - testuj("Moscow, Russia", 55.755786, 37.617633); - } + @Test(timeout = CASOVY_LIMIT) + public void moskva() { + testuj("Moscow, Russia", 55.755786, 37.617633); + } - @Test - public void loc() { - Souradnice s = geo.new Souradnice(55.755786, 37.617633); - assertEquals("Loc: 55.755786, 37.617633", s.getLoc()); - } + @Test + public void loc() { + Souradnice s = geo.new Souradnice(55.755786, 37.617633); + assertEquals("Loc: 55.755786, 37.617633", s.getLoc()); + } - private void testuj(String vstup, double pozadovanaSirka, double pozadovanaDelka) { - Souradnice vystup = geo.getSouradnice(vstup); - assertEquals(geo.new Souradnice(pozadovanaSirka, pozadovanaDelka), vystup); - } + private void testuj(String vstup, double pozadovanaSirka, double pozadovanaDelka) { + Souradnice vystup = geo.getSouradnice(vstup); + assertEquals(geo.new Souradnice(pozadovanaSirka, pozadovanaDelka), vystup); + } }