Ejemplo n.º 1
0
        public void DictionaryTest()
        {
            Dictionary <string, string> a = new Dictionary <string, string>();

            a.Add("foo", "bar");
            SAssert.ContainsKey(a, "foo");
            XAssert.Throws <ArgumentException>(() => SAssert.ContainsKey(a, "loo"));
        }