public void Setup()
        {
            var angleIntervallCalculator                = new AngleIntervallCalculator();
            var angelInterpolationCalculator            = new AngelInterpolationCalculator(angleIntervallCalculator);
            var sphericalCoordinatesIntervallCalculator =
                new SphericalCoordinatesIntervallCalculator(angelInterpolationCalculator);
            var radiusPhiThetaToSphericalCoordinatesConverter = new RadiusPhiThetaToSphericalCoordinatesConverter();

            m_Sut = new SphericalArcCalculator(sphericalCoordinatesIntervallCalculator,
                                               radiusPhiThetaToSphericalCoordinatesConverter);
        }
        public void Setup()
        {
            m_CoordinatesZeroZero = new SphericalCoordinates
            {
                Radius = 1.0,
                Phi    = Angle.ForZeroDegrees,
                Theta  = Angle.ForZeroDegrees
            };

            m_CoordinatesZeroNintey = new SphericalCoordinates
            {
                Radius = 1.0,
                Phi    = Angle.ForZeroDegrees,
                Theta  = Angle.For90Degrees
            };

            m_Calculator = Substitute.For <ISphericalCoordinatesIntervallCalculator>();
            m_Converter  = Substitute.For <IRadiusPhiThetaToSphericalCoordinatesConverter>();

            m_Sut = new SphericalArcCalculator(m_Calculator,
                                               m_Converter);
        }