HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("test");
HSSFClientAnchor a = new HSSFClientAnchor(0,0,1023,255,(short)0,0,(short)0,0);
float p = a.getAnchorHeightInPoints(sheet);
assertEquals(11.953,p,0.001);
sheet.createRow(0).setHeightInPoints(14);
a = new HSSFClientAnchor(0,0,1023,255,(short)0,0,(short)0,0);
p = a.getAnchorHeightInPoints(sheet);
assertEquals(13.945,p,0.001);
a = new HSSFClientAnchor(0,0,1023,127,(short)0,0,(short)0,0);
p = a.getAnchorHeightInPoints(sheet);
assertEquals(6.945,p,0.001);
a = new HSSFClientAnchor(0,126,1023,127,(short)0,0,(short)0,0);
p = a.getAnchorHeightInPoints(sheet);
assertEquals(0.054,p,0.001);
a = new HSSFClientAnchor(0,0,1023,0,(short)0,0,(short)0,1);
p = a.getAnchorHeightInPoints(sheet);
assertEquals(14.0,p,0.001);
sheet.createRow(0).setHeightInPoints(12);
a = new HSSFClientAnchor(0,127,1023,127,(short)0,0,(short)0,1);
p = a.getAnchorHeightInPoints(sheet);
assertEquals(12.0,p,0.001);