Exemplo n.º 1
0
 private static void ConfirmCrInRange(bool expResult, String colStr, String rowStr,
         SpreadsheetVersion sv)
 {
     if (expResult == CellReference.CellReferenceIsWithinRange(colStr, rowStr, sv))
     {
         return;
     }
     throw new AssertionException("expected (c='" + colStr + "', r='" + rowStr + "' to be "
             + (expResult ? "within" : "out of") + " bounds for version " + sv.ToString());
 }