LocalCellRef { @Override public String toString() { final StringBuilder sb = new StringBuilder(); try { this.write(sb); } catch (final IOException e) { throw new AssertionError(e); } return sb.toString(); } LocalCellRef(final int r, final int c, final int status); static LocalCellRefBuilder builder(); @Override boolean equals(final Object o); @Override int hashCode(); int getColumn(); int getRow(); @Override String toString(); void write(final Appendable appendable); static final char ABS_SIGN; }
@Test public void testA1() { Assert.assertEquals("A1", new LocalCellRef(0, 0, 0).toString()); }
@Test public void testdA1() { Assert.assertEquals("$A1", new LocalCellRef(0, 0, 1).toString()); }
@Test public void testAd1() { Assert.assertEquals("A$1", new LocalCellRef(0, 0, 2).toString()); }
@Test public void testdAd1() { Assert.assertEquals("$A$1", new LocalCellRef(0, 0, 3).toString()); }