public class TestCoordinateDMS extends AbstractCoordinateTestCase
CoordinateDMS.TestCase2.MyProperties, TestCase2.RandomType_randomType, log| Constructor and Description |
|---|
TestCoordinateDMS() |
TestCoordinateDMS(String arg0) |
| Modifier and Type | Method and Description |
|---|---|
void |
test_ctor()
Verify basic constructor and formatter using decimal degrees
|
void |
test_formatTenthsOfSecond()
Test the routine that formats tenths of a second.
|
void |
test_parse01()
Test parsing of coordinates represented as degrees, minutes, and seconds.
|
void |
test_parseTenthsOfSecond()
Test the routine that parses text containing seconds and optional tenths
of a second.
|
void |
test_pattern_dms1_groups()
Test groups satisified by
CoordinateDMS.pattern_dms1. |
void |
test_regex_lat()
Test of the regular expression used to match a multipart latitude.
|
void |
test_regex_long()
Test of the regular expression used to match a multipart longitude.
|
void |
test_roundMinutes()
Test of
CoordinateDMS.roundMinutes(). |
void |
test_roundSeconds()
Test of
CoordinateDMS.roundSeconds() |
void |
test_toDD()
Test conversion to decimal degrees.
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, round, round1, round2, round5assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logPropertiesassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringpublic TestCoordinateDMS()
public TestCoordinateDMS(String arg0)
arg0 - public void test_parseTenthsOfSecond()
throws ParseException
ParseExceptionpublic void test_formatTenthsOfSecond()
public void test_ctor()
throws ParseException
32� 18' 23.1" N 122� 36' 52.5" W
ParseExceptionpublic void test_roundSeconds()
CoordinateDMS.roundSeconds()public void test_roundMinutes()
CoordinateDMS.roundMinutes().public void test_regex_lat()
public void test_regex_long()
public void test_pattern_dms1_groups()
CoordinateDMS.pattern_dms1.public void test_parse01()
throws ParseException
ParseExceptionpublic void test_toDD()
throws ParseException
36.0726355 -79.7919754 360421N 0794731W Greensboro North Carolina
ParseExceptionhttp://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.htmlCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.