示例#1
0
        public void TestNegativeValue()
        {
            int    number = -1;
            string result = "-B";

            Based26Sys name   = new Based26Sys();
            string     actual = name.To26Sys(number);

            Assert.AreEqual(result, actual);
        }
示例#2
0
        public void TestTo26Sys()
        {
            int    number = 0;
            string result = "A";

            Based26Sys name   = new Based26Sys();
            string     actual = name.To26Sys(number);

            Assert.AreEqual(result, actual);
        }