@Test
public void testConversionToXY() {

    HSBType hsb = new HSBType("220,90,50");
    PercentType[] xy = hsb.toXY();
    assertEquals(new PercentType("16.969364"), xy[0]);
    assertEquals(new PercentType("12.379659"), xy[1]);
}