Пример #1
0
        public void Should_calculate_Cos(double angle)
        {
            var expected = Math.Cos(angle);

            var degree = new Radian(angle);
            var actual = degree.Cos();

            Assert.AreEqual(expected, actual, Consts.DeltaAssert);
        }