diff -r 3ea50a264ce0 -r 0efefbf5f8b6 java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java --- a/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java Sat Jun 19 14:37:11 2010 +0200 +++ b/java/nekurak.net-ejb/test/cz/frantovo/nekurak/ext/GeoTest.java Sun Jun 20 14:46:47 2010 +0200 @@ -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); + } }