示例#1
0
 public void CanShowMessageWithRowAndColumnWhenColumnNameExceeds26()
 {
     var error = new SheetError(1, 30, "test");
     error.DisplayMessage.Should().Be("Cell AE2: test");
 }
示例#2
0
 public void CanShowMessageWithRowOnly()
 {
     var error = new SheetError(1, "test");
     error.DisplayMessage.Should().Be("Row 2: test");
 }
示例#3
0
 public void CanShowMessageWithRowAndColumn()
 {
     var error = new SheetError(1, 4, "test");
     error.DisplayMessage.Should().Be("Cell E2: test");
 }