Ejemplo n.º 1
0
        public void Test1()
        {
            ITextMultiplier sut      = new Homework02();
            var             actual   = sut.GetFormattedString("34,67,55,33,12,28");
            var             expected = "[\n\t374,\n\t737,\n\t605,\n\t363,\n\t132,\n\t308\n]";

            Assert.Equal(expected, actual);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.Write("Please Input (ex.:34,67,55,33,12,28) :");
            string     input  = Console.ReadLine();
            Homework02 hm2    = new Homework02();
            var        result = hm2.GetFormattedString(input);

            Console.WriteLine(result);
        }