Beispiel #1
0
        public void CountNeg_Test4()
        {
            CountNegativesInASortedMartix_TEST _instance = new CountNegativesInASortedMartix_TEST();

            int[,] grid = MatrixTestObjects._9620_1_2_3_4();
            Assert.AreEqual(5, _instance.CountNegatives(grid));
        }
Beispiel #2
0
        public void CountNeg_Test3()
        {
            CountNegativesInASortedMartix_TEST _instance = new CountNegativesInASortedMartix_TEST();

            int[,] grid = MatrixTestObjects._543210_1_1();
            Assert.AreEqual(3, _instance.CountNegatives(grid));
        }