Accord.Tests.Math.MatrixTest.IntervalTest1 C# (CSharp) Method

IntervalTest1() private method

private IntervalTest1 ( ) : void
return void
        public void IntervalTest1()
        {
            int from = -2;
            int to = 4;
            int[] expected = { -2, -1, 0, 1, 2, 3, 4 };
            int[] actual = Matrix.Interval(from, to);

            Assert.IsTrue(Matrix.IsEqual(expected, actual));
        }
MatrixTest