Exemple #1
0
        public void ArcLength()
        {
            double radius = 50;
            double angle  = 50;

            Assert.Equal(43.633231299858238, CircleHelper.ArcLength(radius, angle));
        }
Exemple #2
0
        public void ArcLengthRound12()
        {
            double radius = 50;
            double angle  = 50;

            Assert.Equal(43.633231299858, System.Math.Round(CircleHelper.ArcLength(radius, angle), 12));
        }