public void CanFailToResizeColumnWhenBiggerThanMax()
        {
            RootColumn      root   = new RootColumn();
            ColumnContainer target = new ColumnContainer(root);

            Assert.AreEqual(2, target.Columns.Count, "Container should start with two columns");
            Assert.IsTrue(target.AddColumns(1), "Should return true when adding column");
            Assert.AreEqual(3, target.Columns.Count, "Column Cound should be 3");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[0].Size, "First column number should be size 4");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[1].Size, "Second column number should be size 4");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[2].Size, "Third column number should be size 4");

            Assert.IsFalse(target.ResizeColumn(0, ColumnSize.Size11), "Column should not resize to size 11");
        }
        public void CanResizeColumnTestSmaller()
        {
            RootColumn      root   = new RootColumn();
            ColumnContainer target = new ColumnContainer(root);

            Assert.AreEqual(2, target.Columns.Count, "Container should start with two columns");
            Assert.IsTrue(target.AddColumns(1), "Should return true when adding column");
            Assert.AreEqual(3, target.Columns.Count, "Column Cound should be 3");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[0].Size, "First column number should be size 4");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[1].Size, "Second column number should be size 4");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[2].Size, "Third column number should be size 4");

            Assert.IsTrue(target.ResizeColumn(0, ColumnSize.Size2), "Column should resize to size 2");

            Assert.AreEqual(ColumnSize.Size2, target.Columns[0].Size, "First column number should be size 2");
            Assert.AreEqual(ColumnSize.Size4, target.Columns[1].Size, "Second column number should be size 4");
            Assert.AreEqual(ColumnSize.Size6, target.Columns[2].Size, "Third column number should be size 6");
        }