public void TestHistogram2()
        {
            var rectangle = new MaximalRectangle();
            var result    = rectangle.MaximalHistogram(new[, ] {
                { '1' }
            });

            Assert.AreEqual(1, result);

            result = rectangle.MaximalHistogram(new[, ] {
                { '0', '1' }, { '1', '0' }
            });
            Assert.AreEqual(1, result);
        }
        public void TestHistogram1()
        {
            var rectangle = new MaximalRectangle();
            var result    = rectangle.MaximalHistogram(this.inputMatrix1);

            Assert.AreEqual(6, result);
        }