예제 #1
0
 public void ExceptWithComparerComparerArgumentNull()
 {
     Assert.DoesNotThrow(() => DummyData.Except(DummyData, null));
 }
예제 #2
0
 public void ExceptWithComparerSecondArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => DummyData.Except(NullData, EqualityComparer <object> .Default)).WithParameter("second");
 }
예제 #3
0
 public void ExceptSecondArgumentNull()
 {
     Assert.Throws <ArgumentNullException>(() => DummyData.Except(NullData)).WithParameter("second");
 }