示例#1
0
        public void TestMatrixLenght10()
        {
            var testMatrix = new int[10, 10];

            RotatingMatrixWalkSolver.SolveRotatingMatrixWalk(testMatrix);

            Assert.IsTrue(MatricesCompararer.AreSame(testMatrix, matrix10));
        }
        public void RotatingWalkInMatrixWithSize6_ExpectedToWork()
        {
            var expected = matrixLength6;
            var actual   = new int[6, 6];

            RotatingMatrixWalkSolver.SolveRotatingMatrixWalk(actual);

            Assert.IsTrue(MatrixComparer.AreSame(expected, actual));
        }