Example #1
0
 public static void TryParse_ReturnsFailure_ForInvalidSwiftValue(string value)
 => Assert.False(Bic.TryParse(value, BicVersion.Swift).IsSuccess);
Example #2
0
 public static void TryParse_ReturnsFailure_ForInvalidLength(string value)
 => Assert.False(Bic.TryParse(value).IsSuccess);
Example #3
0
 public static void TryParse_Succeeds_ForValidSwiftValue(string value)
 => Bic.TryParse(value, BicVersion.Swift);
Example #4
0
 public static void TryParse_ReturnsFailure_ForNull()
 => Assert.False(Bic.TryParse(null).IsSuccess);
Example #5
0
 public static void TryParse_Succeeds_ForValidISOValue(string value)
 => Bic.TryParse(value, BicVersion.ISO);