public void TestGet() { var m = new SlotMap <object>(); var obj = new object(); var key = m.Add(obj); Assert.AreEqual(obj, m.Get(key)); m.TryGet(key, out object result); Assert.AreEqual(obj, result); }
public void TestGetException() { var m = new SlotMap <object>(); m.Get(0); }