Accord.Tests.Math.VectorTest.GetIndicesTest C# (CSharp) Method

GetIndicesTest() private method

private GetIndicesTest ( ) : void
return void
        public void GetIndicesTest()
        {
            double[] v = Vector.Ones(5);
            int[] idx = v.GetIndices();
            Assert.IsTrue(idx.IsEqual(new[] { 0, 1, 2, 3, 4 }));
        }