public void RelativeWidth_Test2(double param)
 {
     double width = 1 / param;
     var v = new ColumnDimensionAttribute(width);
     Assert.AreEqual(width, v.ColumnWidth);
     Assert.AreEqual(ColumnDimensionType.Star, v.DimensionType);
 }
 public void AbsoluteWidth_Test(double param)
 {
     double width = param * 100;
     var v = new ColumnDimensionAttribute(width, ColumnDimensionType.Pixels);
     Assert.AreEqual(width, v.ColumnWidth);
     Assert.AreEqual(ColumnDimensionType.Pixels, v.DimensionType);
 }