public void TypeDictionary_ObjectIsNotContained_ReturnsNull() { TDict.Set <int>("hei"); var str = TDict.Get <string>(); Assert.IsNull(str); }
public void TypeDictionary_ReturnsObject() { TDict.Set <string>("hei"); var str = TDict.Get <string>(); Assert.AreEqual("hei", str); }
public void TypeDictionary_OverwritesEntries() { TDict.Set <string>("hei"); TDict.Set <string>("nei"); var str = TDict.Get <string>(); Assert.AreEqual("nei", str); }
public void TypeDictionary_RemovesEntry() { TDict.Set <string>("hei"); TDict.Remove <string>(); var str = TDict.Get <string>(); Assert.IsNull(str); }