public void DictionaryNotImplementedExceptionTestMethod() { SelfDictionary<EquatableNotImplemented> _dictionary = new SelfDictionary<EquatableNotImplemented>(); _dictionary.AddIfNotPresent(new EquatableNotImplemented()); EquatableNotImplemented _EquatableNotImplementedInstance = new EquatableNotImplemented(); _dictionary.AddIfNotPresent(_EquatableNotImplementedInstance); Assert.AreEqual<int>(2, _dictionary.Count); _dictionary.ContainsKey(_EquatableNotImplementedInstance); }
public void DictionaryCreatorTestMethod() { //SelfDictionary<AnyClass> _diction = new SelfDictionary<AnyClass>(); SelfDictionary<EquatableNotImplemented> _diction = new SelfDictionary<EquatableNotImplemented>(); }