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

FloorTest() private method

private FloorTest ( ) : void
return void
        public void FloorTest()
        {
            double[,] matrix = 
            {
                {  0.1, 0.5, 1.5 },
                { -1.1, 2.5, 0.5 },
            };
            double[,] expected = 
            {
                {  0.0, 0.0, 1.0 },
                { -2.0, 2.0, 0.0 },
            };

            double[,] actual = Matrix.Floor(matrix);
            Assert.IsTrue(expected.IsEqual(actual));
        }
        #endregion
MatrixTest