Class CoordinatesTest

    • Constructor Detail

      • CoordinatesTest

        public CoordinatesTest()
    • Method Detail

      • setUp

        public void setUp()
      • tearDown

        public void tearDown()
      • testGeoLocatorException

        public void testGeoLocatorException()
      • testInstantiationGPSParametersWithinLimits

        public void testInstantiationGPSParametersWithinLimits()
        The following example tests the proper instantiation of GPS when the decimal coordinates are given from within the limits
      • testInstantiationGPSParametersBeyondLimits

        public void testInstantiationGPSParametersBeyondLimits()
        The following example tests instantiation of GPS when improper values of decimal coordinates are given as parameters.
      • testInstantiationGPSParametersValidDMS

        public void testInstantiationGPSParametersValidDMS()
        The following example tests the proper instantiation of GPS location when valid DMS coordinates are given
      • testInstantiationGPSParametersInvalidDMSSyntax

        public void testInstantiationGPSParametersInvalidDMSSyntax()
        the following example tests the proper instantiation of GPS location when improper DMS format is given as a String argument
      • testInstantiationGPSParametersInvalidDMSValues

        public void testInstantiationGPSParametersInvalidDMSValues()
        the following example tests the proper instantiation of GPS location when improper DMS values are given
      • testDMSPatterns

        public void testDMSPatterns()
        The following example tests proper validation of DMS format patterns
      • testOneGPSInstantiatedFromAnothersToDMSString

        public void testOneGPSInstantiatedFromAnothersToDMSString()
        The following example shows the mutual ralations between two GPS locations created with different 'create' method calls
      • testGPSToString

        public void testGPSToString()
        The following example tests if the toString method works as expected
      • testGPSToDMSString

        public void testGPSToDMSString()
        The following example tests if the toDMSString method works as expected