Exemple #1
0
        public void ContainsColumn()
        {
            CellRangeAddress region = new CellRangeAddress(10, 12, 3, 5);

            Assert.IsFalse(region.ContainsColumn(2));
            Assert.IsTrue(region.ContainsColumn(3));
            Assert.IsTrue(region.ContainsColumn(4));
            Assert.IsTrue(region.ContainsColumn(5));
            Assert.IsFalse(region.ContainsColumn(6));
        }