public void GetEnumerator_NonGeneric() { IEnumerable map = new MapField <string, string> { { "x", "y" } }; CollectionAssert.AreEqual(new[] { new KeyValuePair <string, string>("x", "y") }, map.Cast <object>().ToList()); }
public void GetEnumerator_NonGeneric() { IEnumerable map = new MapField <string, string> { { "x", "y" } }; CollectionAssert.AreEqual(new[] { new KeyValuePair <string, string>("x", "y") }, map.Cast <object>().ToList()); }