Пример #1
0
 public void Analyze_non_fake_non_newyork()
 {
     Assert.Equal((false, false, "1234"), PhoneNumber.Analyze("631-502-1234"));
 }
Пример #2
0
 public void Is_Fake_non_fake()
 {
     Assert.False(PhoneNumber.IsFake(PhoneNumber.Analyze("555-212-1234")));
 }
Пример #3
0
 public void Analyze_fake_fake()
 {
     Assert.Equal((false, false, "1234"), PhoneNumber.Analyze("515-212-1234"));
 }
Пример #4
0
 public void Is_Fake_fake()
 {
     Assert.True(PhoneNumber.IsFake(PhoneNumber.Analyze("212-555-1234")));
 }
Пример #5
0
 public void Analyze_fake_newyork()
 {
     Assert.Equal((true, true, "1234"), PhoneNumber.Analyze("212-555-1234"));
 }