public void ShouldMapDictionaryElementsAsClassAndStruct() { Assert.IsTrue(SinTD_mapWithStructElements.CanBeAssignedFromType(typeof(Dictionary <string, nestedTestClass>))); Assert.IsTrue(SinTD_mapWithStructElements.CanBeAssignedFromType(typeof(Dictionary <string, nestedTestStruct>))); }
public void ShouldMapDictionaryKeysAsClassAndStruct() { Assert.IsTrue(SinTD_mapWithStructKeys.CanBeAssignedFromType(typeof(Dictionary <nestedTestClass, string>))); Assert.IsTrue(SinTD_mapWithStructKeys.CanBeAssignedFromType(typeof(Dictionary <nestedTestStruct, string>))); }
public void ShouldMatchDictionaryTypes() { Assert.IsTrue(map.CanBeAssignedFromType(typeof(Dictionary <string, testClass>))); }