ColumnWidth extends AbstractCssProperty<ColumnWidth> { @Override public String getCssValue() { return cssValue; } ColumnWidth();  ColumnWidth(final String cssValue);  ColumnWidth(final ColumnWidth columnWidth);  ColumnWidth(final float percent);  ColumnWidth(final float value, final CssLengthUnit cssLengthUnit); ColumnWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override ColumnWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsAuto(); static boolean isValid(final String cssValue); static final String AUTO; static final String INITIAL; static final String INHERIT; }
@Test public void testColumnWidthString() { { ColumnWidth columnWidth = new ColumnWidth(ColumnWidth.INITIAL); assertEquals(ColumnWidth.INITIAL, columnWidth.getCssValue()); } { ColumnWidth columnWidth = new ColumnWidth("50px"); assertEquals("50px", columnWidth.getCssValue()); } }
@Test public void testColumnWidthColumnWidth() { ColumnWidth columnWidth = new ColumnWidth("50px"); ColumnWidth columnWidth1 = new ColumnWidth(columnWidth); assertEquals("50px", columnWidth1.getCssValue()); }
@Test public void testColumnWidthFloat() { ColumnWidth columnWidth = new ColumnWidth(75); assertEquals("75.0%", columnWidth.getCssValue()); }
@Test public void testGetCssValue() { ColumnWidth columnWidth = new ColumnWidth(); columnWidth.setAsInherit(); assertEquals(ColumnWidth.INHERIT, columnWidth.getCssValue()); columnWidth.setAsAuto(); assertEquals(ColumnWidth.AUTO, columnWidth.getCssValue()); }