Example #1
0
 public void should_fail()
 {
     foreach (var testAddr in AddressesFail.Where(a => a != null))
     {
         Assert.IsFalse(Address0.GetHashCode() == testAddr.GetHashCode());
     }
 }
Example #2
0
 public void should_throw_NullReferenceException()
 {
     foreach (var testAddr in AddressesFail.Where(a => a == null))
     {
         Assert.ThrowsException <NullReferenceException>(() => Address0.GetHashCode() == testAddr.GetHashCode());
     }
 }