Esempio n. 1
0
        public void SmoothMethod1()
        {
            var     value    = Smoothing.Smooth(5, inputValue3);
            decimal accuracy = 0.001m;

            for (int i = 0; i < value.Length; i++)
            {
                if (Abs(value[i] - output1[i]) > accuracy)
                {
                    Assert.Fail(Abs(value[i] - output1[i]).ToString());
                }
            }
        }