LetterSpacing extends AbstractCssProperty<LetterSpacing> { @Override public String getCssValue() { return cssValue; } LetterSpacing();  LetterSpacing(final String cssValue);  LetterSpacing(final LetterSpacing letterSpacing);  LetterSpacing(final float percent);  LetterSpacing(final float value, final CssLengthUnit cssLengthUnit); LetterSpacing 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 LetterSpacing setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsNormal(); static boolean isValid(final String cssValue); static final String NORMAL; static final String INITIAL; static final String INHERIT; }
@Test public void testLetterSpacingString() { { LetterSpacing letterSpacing = new LetterSpacing(LetterSpacing.INITIAL); assertEquals(LetterSpacing.INITIAL, letterSpacing.getCssValue()); } { LetterSpacing letterSpacing = new LetterSpacing("50px"); assertEquals("50px", letterSpacing.getCssValue()); } }
@Test public void testLetterSpacingLetterSpacing() { LetterSpacing letterSpacing = new LetterSpacing("50px"); LetterSpacing letterSpacing1 = new LetterSpacing(letterSpacing); assertEquals("50px", letterSpacing1.getCssValue()); }
@Test public void testLetterSpacingFloat() { LetterSpacing letterSpacing = new LetterSpacing(75); assertEquals("75.0%", letterSpacing.getCssValue()); }
@Test public void testGetCssValue() { LetterSpacing letterSpacing = new LetterSpacing(); letterSpacing.setAsInherit(); assertEquals(LetterSpacing.INHERIT, letterSpacing.getCssValue()); letterSpacing.setAsInitial(); assertEquals(LetterSpacing.INITIAL, letterSpacing.getCssValue()); }