예제 #1
0
 public static void test6()
 {
     testing(PhoneDir.Phone(dr, "1-498-512-2222"), "Phone => 1-498-512-2222, Name => Bernard Deltheil, Address => Mount Av. Eldorado");
 }
예제 #2
0
 public static void test4()
 {
     testing(PhoneDir.Phone(dr, "1-541-754-3010"), "Phone => 1-541-754-3010, Name => J Steeve, Address => 156 Alphand St.");
 }
예제 #3
0
 public static void test5()
 {
     testing(PhoneDir.Phone(dr, "1-121-504-8974"), "Phone => 1-121-504-8974, Name => Arthur Clarke, Address => San Antonio TT-45120");
 }
예제 #4
0
 public static void test3()
 {
     testing(PhoneDir.Phone(dr, "1-908-512-2222"), "Phone => 1-908-512-2222, Name => Peter O'Brien, Address => High Street CC-47209");
 }
예제 #5
0
 public static void test2()
 {
     testing(PhoneDir.Phone(dr, "1-921-512-2222"), "Phone => 1-921-512-2222, Name => Wilfrid Stevens, Address => Wild Street AA-67209");
 }
예제 #6
0
 public static void test1()
 {
     testing(PhoneDir.Phone(dr, "48-421-674-8974"), "Phone => 48-421-674-8974, Name => Anastasia, Address => Via Quirinal Roma");
 }
예제 #7
0
 public static void test8()
 {
     testing(PhoneDir.Phone(dr, "5-555-555-5555"), "Error => Not found: 5-555-555-5555");
 }
예제 #8
0
 public static void test7()
 {
     testing(PhoneDir.Phone(dr, "1-098-512-2222"), "Error => Too many people: 1-098-512-2222");
 }