public void Test_GetMaximumValueFromMatrix_()
        {
            _matrix.SetLineOfMatrix(3);
            _matrix.SetColumnOfMatrix(3);
            _matrix.SetMatrix(new [, ] {
                { 1, 2, 3 }, { 4, 5, 6 }, { 7, 8, 9 }
            });

            Assert.IsTrue(_matricesWorkflow.GetMaximumValueFromMatrix(_matrix) == 9);
        }
예제 #2
0
 public void Test_GetLineOfMatrix_()
 {
     _matrix.SetLineOfMatrix(3);
     Assert.IsTrue(_matrix.GetLineOfMatrix() == 3);
 }