Beispiel #1
0
 public void Check_Fedex_Tracking_Number_With_Invalid_Length()
 {
     Assert.IsFalse(FedexTracker.IsFedExExpress("012"));
 }
Beispiel #2
0
 public void Check_Fedex_Tracking_Number_With_Invalid_Check_Digit()
 {
     Assert.IsFalse(FedexTracker.IsFedExExpress("012345678984"));
 }
Beispiel #3
0
 public void Check_Fedex_Tracking_Number_With_10_Checksum()
 {
     Assert.IsTrue(FedexTracker.IsFedExExpress("966645788660"));
 }
Beispiel #4
0
 public void Chec_Ups_Number_Doesnt_Match_Fedex_Format()
 {
     Assert.IsFalse(FedexTracker.IsFedExExpress("1Z039AF20326069009") || FedexTracker.IsFedExGround("1Z039AF20326069009"));
 }
Beispiel #5
0
 public void Check_Valid_Fedex_Tracking_Number2()
 {
     Assert.IsTrue(FedexTracker.IsFedExExpress("864737425688"));
 }
Beispiel #6
0
 public void Check_Valid_Fedex_Tracking_Number()
 {
     Assert.IsTrue(FedexTracker.IsFedExExpress("012345678983"));
 }