Example #1
0
 public void ISBN_InvalidTest()
 {
     foreach (var item in _invalid)
     {
         Assert.IsFalse(ISBNValidator.IsValid(item), $"Value '{item}' has passed validation");
     }
 }
Example #2
0
 public void ISBN_ValidTest()
 {
     foreach (var item in _valid)
     {
         Assert.IsTrue(ISBNValidator.IsValid(item), $"Value '{item}' has not passed validation");
     }
 }