Accord.Tests.Math.DistanceTest.ManhattanTest C# (CSharp) Method

ManhattanTest() private method

private ManhattanTest ( ) : void
return void
        public void ManhattanTest()
        {
            double[] x = { 3, 6 };
            double[] y = { 0, 0 };
            double expected = 9;
            double actual = Distance.Manhattan(x, y);
            Assert.AreEqual(expected, actual);
        }