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