예제 #1
0
        public void TestEncoding()
        {
            int num = 7;

            string result = ArrayPblms.GetEncodedString(num);

            Console.WriteLine(result);


            num = 9;

            result = ArrayPblms.GetEncodedString(num);

            Console.WriteLine(result);

            num = 15;

            result = ArrayPblms.GetEncodedString(num);

            Console.WriteLine(result);

            num = 0;

            result = ArrayPblms.GetEncodedString(num);

            Console.WriteLine(result);
        }
예제 #2
0
        public void TestValidEmailText()
        {
            string input  = "abcdef";
            bool   result = ArrayPblms.isValidEmailText(input);

            Console.WriteLine(result.ToString());

            input = "ab*(cdef";
            ArrayPblms.isValidEmailText(input);
            Console.WriteLine(result.ToString());
        }