Exemplo n.º 1
0
 public void ShouldMapArrayElementsAsClassAndStruct()
 {
     Assert.IsTrue(SinTD_arrayOfStructs.CanBeAssignedFromType(typeof(List <nestedTestClass>)));
     Assert.IsTrue(SinTD_arrayOfStructs.CanBeAssignedFromType(typeof(List <nestedTestStruct>)));
 }
Exemplo n.º 2
0
 public void ShouldMatchArrayTypes()
 {
     Assert.IsTrue(SinTD_array.CanBeAssignedFromType(typeof(int[])));
     Assert.IsTrue(SinTD_array.CanBeAssignedFromType(typeof(List <int>)));
     Assert.IsTrue(SinTD_array.CanBeAssignedFromType(typeof(ISet <int>)));
 }