@Test
public void angle() throws Exception {
MyCSS css = new MyCSS();
css.background.image(new LinearGradient().angle(10, deg).color(black, white));
assert css.countProperty() == 2;
assert css.has("background-image", "linear-gradient(10deg,black,white)");
assert css.has("background-image", "-webkit-linear-gradient(280deg,black,white)");
}
@Test