public void IsCorrectExpressionTest2() { string expression = "A0 + AB3 + 44"; bool expected = false; FormExcel formExcel = new FormExcel(); bool actual = formExcel.IsCorrectExpression(expression); Assert.AreEqual(expected, actual); }
public void IsCorrectExpressionTest() { string expression = "5 + A0"; bool expected = true; FormExcel formExcel = new FormExcel(); bool actual = formExcel.IsCorrectExpression(expression); Assert.AreEqual(expected, actual); }