Exemplo n.º 1
0
 public void ShouldMapDictionaryElementsAsClassAndStruct()
 {
     Assert.IsTrue(SinTD_mapWithStructElements.CanBeAssignedFromType(typeof(Dictionary <string, nestedTestClass>)));
     Assert.IsTrue(SinTD_mapWithStructElements.CanBeAssignedFromType(typeof(Dictionary <string, nestedTestStruct>)));
 }
Exemplo n.º 2
0
 public void ShouldMapDictionaryKeysAsClassAndStruct()
 {
     Assert.IsTrue(SinTD_mapWithStructKeys.CanBeAssignedFromType(typeof(Dictionary <nestedTestClass, string>)));
     Assert.IsTrue(SinTD_mapWithStructKeys.CanBeAssignedFromType(typeof(Dictionary <nestedTestStruct, string>)));
 }
Exemplo n.º 3
0
 public void ShouldMatchDictionaryTypes()
 {
     Assert.IsTrue(map.CanBeAssignedFromType(typeof(Dictionary <string, testClass>)));
 }