Ejemplo n.º 1
0
        public void RhoSinThetaPrimeTest(double geographicalLatitude, double height, double expectedRhoSinTheta)
        {
            double rhosintheta = AASGlobe.RhoSinThetaPrime(geographicalLatitude, height);

            Assert.Equal(expectedRhoSinTheta, rhosintheta);
        }
Ejemplo n.º 2
0
        public void RadiusOfCurvatureTest(double geographicalLatitude, double expectedRadiusOfCurvature)
        {
            double radiusOfCurvature = AASGlobe.RadiusOfCurvature(geographicalLatitude);

            Assert.Equal(expectedRadiusOfCurvature, radiusOfCurvature);
        }
Ejemplo n.º 3
0
        public void DistanceBetweenPointsTest(double geographicalLatitude1, double geographicalLongitude1, double geographicalLatitude2, double geographicalLongitude2, double expectedDistance)
        {
            double distance = AASGlobe.DistanceBetweenPoints(geographicalLatitude1, geographicalLongitude1, geographicalLatitude2, geographicalLongitude2);

            Assert.Equal(expectedDistance, distance);
        }
Ejemplo n.º 4
0
        public void RadiusOfParallelOfLatitudeTest(double geographicalLatitude, double expectedRadiusOfLatitude)
        {
            double radiusOfLatitude = AASGlobe.RadiusOfParallelOfLatitude(geographicalLatitude);

            Assert.Equal(expectedRadiusOfLatitude, radiusOfLatitude);
        }