Пример #1
0
 public void Should_ConvertCollectionOfStringToUInt_When_DefaultTypeConverterIsUsed()
 {
     CollectionAssert.AllItemsAreInstancesOfType(
         ParsedRows
         .Select(x => x.uintTest)
         .ToList(),
         typeof(uint));
 }
Пример #2
0
 public void Should_ConvertStringToEnum_When_TypeConverterDefined()
 {
     CollectionAssert.AllItemsAreInstancesOfType(
         ParsedRows
         .Select(x => x.DayTest)
         .ToList(),
         typeof(Day));
 }