public void CountNegatives_4()
        {
            var solution = new _1351_CountNegativeNumbersInASortedMatrix();
            var result   = solution.CountNegatives(new int[][] {
                new int[] { -1 },
            });

            Assert.AreEqual(1, result);
        }
        public void CountNegatives_1()
        {
            var solution = new _1351_CountNegativeNumbersInASortedMatrix();
            var result   = solution.CountNegatives(new int[][] {
                new int[] { 4, 3, 2, -1 },
                new int[] { 3, 2, 1, -1 },
                new int[] { 1, 1, -1, -2 },
                new int[] { -1, -1, -2, -3 },
            });

            Assert.AreEqual(8, result);
        }