public void TestChangeDirectionsWithWrongHorizontalStep()
        {
            MatrixInitialiser matrixInitialiser = new MatrixInitialiser();
            int horizontalStep = 6;
            int verticalStep   = 1;

            matrixInitialiser.ChangeDirection(ref horizontalStep, ref verticalStep);
        }
        public void TestChangeDirectionsWithCorectSteps()
        {
            MatrixInitialiser matrixInitialiser = new MatrixInitialiser();
            int horizontalStep         = 1;
            int verticalStep           = 1;
            int expectedHorizontalstep = 1;
            int expectedVerticalStep   = 0;

            matrixInitialiser.ChangeDirection(ref horizontalStep, ref verticalStep);

            Assert.AreEqual(expectedHorizontalstep, horizontalStep);
            Assert.AreEqual(expectedVerticalStep, verticalStep);
        }
        public void TestChangeDirectionsWithCorectSteps()
        {
            MatrixInitialiser matrixInitialiser = new MatrixInitialiser();
            int horizontalStep = 1;
            int verticalStep = 1;
            int expectedHorizontalstep = 1;
            int expectedVerticalStep = 0;

            matrixInitialiser.ChangeDirection(ref horizontalStep, ref verticalStep);

            Assert.AreEqual(expectedHorizontalstep, horizontalStep);
            Assert.AreEqual(expectedVerticalStep, verticalStep);
        }
        public void TestChangeDirectionsWithWrongVerticalStep()
        {
            MatrixInitialiser matrixInitialiser = new MatrixInitialiser();
            int horizontalStep = 1;
            int verticalStep = -5;

            matrixInitialiser.ChangeDirection(ref horizontalStep, ref verticalStep);
        }