public void IfSettingCellErrorValueAndIsFormulaErrorShouldSetFormulaErrorValue() { _objectToTest = new SXSSFCell(null, CellType.Numeric); _objectToTest.SetCellErrorValue(FormulaError.DIV0.Code); Assert.AreEqual((byte)7, _objectToTest.ErrorCellValue); }
public void IfSettingCellErrorValueShouldSetValue() { _objectToTest = new SXSSFCell(null, CellType.Error); _objectToTest.SetCellErrorValue((byte)(0x00)); Assert.AreEqual((byte)0x00, _objectToTest.ErrorCellValue); }