예제 #1
0
 public void Linq10_NullSuppliers_ThrowsArgumentNullException()
 {
     Assert.That(() => SelectExtensions.Linq10(null).ToList(), Throws.ArgumentNullException);
 }
예제 #2
0
        public void Linq10_Suppliers_ReturnsAggregateString()
        {
            string result = SelectExtensions.Linq10(DataSource.Suppliers);

            StringAssert.AreEqualIgnoringCase("UKUSAJapanSpainBrazilSwedenGermanyAustralia", result);
        }