mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
extend test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925503 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3f9153c761
commit
ebd9a8bc9a
@ -90,6 +90,10 @@ class TestXSSFTextParagraph {
|
||||
text.setBulletFontColor(color);
|
||||
assertEquals(color, text.getBulletFontColor());
|
||||
|
||||
final byte[] colorBytes = new byte[] { (byte) 255, 127, 0 };
|
||||
text.setBulletFontColor(colorBytes);
|
||||
assertArrayEquals(colorBytes, text.getBulletFontColorAsBytes());
|
||||
|
||||
assertEquals(100.0, text.getBulletFontSize(), 0.01);
|
||||
text.setBulletFontSize(1.0);
|
||||
assertEquals(1.0, text.getBulletFontSize(), 0.01);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user