public bool CellAddressChecker_Check_ReturnResult(string cellAddress) { // Arange CellAddressChecker checker = new CellAddressChecker(); // Act bool result = checker.Check(cellAddress); // Assert return(result); }
public void Check_ValidAddress_ReturnTrue( string cellAddress) { // Arrange CellAddressChecker checker = new CellAddressChecker(); // Act bool result = checker.Check(cellAddress); // Assert Assert.IsTrue(result); }
public void Check_ValidAddress_ReturnTrueV4( [Values("A", "a")] string column, [Range(1, 65535, 100)] int row) { // Arrange CellAddressChecker checker = new CellAddressChecker(); // Act string cellAddress = $"{column}{row}"; bool result = checker.Check(cellAddress); // Assert Assert.IsTrue(result); }