Exemplo n.º 1
0
        public void ConvertDegreesToRadiansForZeroTest()
        {
            double actual = BaseAngle.ConvertDegreesToRadians(0.0);

            NUnitHelper.AssertDegrees(BaseAngle.RadiansForZeroDegrees,
                                      actual);
        }
Exemplo n.º 2
0
        public void ConvertDegreesToRadiansForZeroPlusHalfEpsilonTest()
        {
            const double degrees = 0.0 + SelkieConstants.EpsilonDegrees / 2.0;
            double       actual  = BaseAngle.ConvertDegreesToRadians(degrees);

            NUnitHelper.AssertDegrees(0.0,
                                      actual);
        }
Exemplo n.º 3
0
        public void ConvertDegreesToRadiansForZeroPlusEpsilonTest()
        {
            const double expected = 0.0 + SelkieConstants.EpsilonDegrees;
            double       actual   = BaseAngle.ConvertDegreesToRadians(expected);

            NUnitHelper.AssertDegrees(expected,
                                      actual);
        }