Пример #1
0
 public void test_small()
 {
     var t = new PhoneNumberFormat();
     //Hard coded input for testing purpose. Take it from user.
     //Check for maximum input length of 100.
     var input = "";
     var formatted = t.FormatTelephoneNumber(input);
     Console.WriteLine(formatted);
 }
Пример #2
0
 public void test_massive()
 {
     var t = new PhoneNumberFormat();
     //Hard coded input for testing purpose. Take it from user.
     //Check for maximum input length of 100.
     var input = "98765432345678987654321234567890987654321234567890987654323456783546789876545657898765435456789087654344567898765432678909876543235678909876543389876543456789098765432345678909876543234567890987654321234567899876543234567890987654323456776543236786543456738765467890";
     var formatted = t.FormatTelephoneNumber(input);
     Console.WriteLine(formatted);
 }