예제 #1
0
        public void IsCorrectExpressionTest2()
        {
            string expression = "A0 + AB3 + 44";

            bool expected = false;

            FormExcel formExcel = new FormExcel();
            bool      actual    = formExcel.IsCorrectExpression(expression);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void IsCorrectExpressionTest()
        {
            string expression = "5 + A0";

            bool expected = true;

            FormExcel formExcel = new FormExcel();
            bool      actual    = formExcel.IsCorrectExpression(expression);

            Assert.AreEqual(expected, actual);
        }