public MatrixCellValue(MatrixKey key, RowValue row, int rowIndex, int colIndex, string colName, object value) { MatrixKey = key; Row = row; RowIndex = rowIndex; ColIndex = colIndex; ColName = colName; Value = value; Address = $"{CellAddressCalculator.GetColumnLetters(colIndex)}{rowIndex + 1}"; }
public void Should_Return_Correct_Column_Letters(int index, string letters) { Check.That(CellAddressCalculator.GetColumnLetters(index)).IsEqualTo(letters); }