Exemplo n.º 1
0
 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}";
 }
Exemplo n.º 2
0
 public void Should_Return_Correct_Column_Letters(int index, string letters)
 {
     Check.That(CellAddressCalculator.GetColumnLetters(index)).IsEqualTo(letters);
 }