示例#1
0
文件: ColTest.java 项目: jamesqiu/wr3
 @Test
 public void create() {
   col = new Col(new Row(5));
   col.head(new Cell("БъЬт1"));
   assertNotNull(col);
   Row row = col.asRow();
   row.cell(0, new Cell("hello"));
   assertEquals(5, row.length());
 }
示例#2
0
文件: ColTest.java 项目: jamesqiu/wr3
 @Test
 public void as() {
   Cell cell = new Cell("БъЬт1");
   col = new Col(new Row(10)).head(cell);
   Row row = col.asRow();
   row.add(0, cell);
 }