source: josm/trunk/test/unit/org/openstreetmap/josm/MainTest.java@ 8809

Last change on this file since 8809 was 8809, checked in by simon04, 9 years ago

fix #11372 - Main: commandline uses OpenLocationAction for parsing http URLs, refactoring

File size: 406 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm;
3
4import static org.hamcrest.CoreMatchers.is;
5import static org.junit.Assert.assertThat;
6
7import org.junit.Test;
8
9public class MainTest {
10 @Test
11 public void testParamType() throws Exception {
12 assertThat(Main.DownloadParamType.paramType("48.000,16.000,48.001,16.001"), is(Main.DownloadParamType.bounds));
13 }
14}
Note: See TracBrowser for help on using the repository browser.