public void RhoSinThetaPrimeTest(double geographicalLatitude, double height, double expectedRhoSinTheta) { double rhosintheta = AASGlobe.RhoSinThetaPrime(geographicalLatitude, height); Assert.Equal(expectedRhoSinTheta, rhosintheta); }
public void RadiusOfCurvatureTest(double geographicalLatitude, double expectedRadiusOfCurvature) { double radiusOfCurvature = AASGlobe.RadiusOfCurvature(geographicalLatitude); Assert.Equal(expectedRadiusOfCurvature, radiusOfCurvature); }
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); }
public void RadiusOfParallelOfLatitudeTest(double geographicalLatitude, double expectedRadiusOfLatitude) { double radiusOfLatitude = AASGlobe.RadiusOfParallelOfLatitude(geographicalLatitude); Assert.Equal(expectedRadiusOfLatitude, radiusOfLatitude); }