Пример #1
0
        public void TestGetColumnLettersForFailure(int badColumnNumber)
        {
            //
            var utility = new ExcelAddressUtility();

            //
            TestDelegate testDelegate = () => utility.GetColumnLetters(badColumnNumber);

            //
            Assert.Throws <ArgumentException>(testDelegate);
        }
Пример #2
0
        public string TestGetColumnLetters(int columnNumber)
        {
            //
            var utility = new ExcelAddressUtility();

            //
            var result = utility.GetColumnLetters(columnNumber);

            //
            return(result);
        }