예제 #1
0
        /// <summary>
        ///Find 的测试
        ///</summary>
        public void FindTestHelper <KeyT, ValueT>()
        {
            SafeDictionary <KeyT, ValueT> target                   = new SafeDictionary <KeyT, ValueT>(); // TODO: 初始化为适当的值
            Predicate <KeyT, ValueT>      match                    = null;                                // TODO: 初始化为适当的值
            KeyValuePair <KeyT, ValueT>   findKeyValuePair         = new KeyValuePair <KeyT, ValueT>();   // TODO: 初始化为适当的值
            KeyValuePair <KeyT, ValueT>   findKeyValuePairExpected = new KeyValuePair <KeyT, ValueT>();   // TODO: 初始化为适当的值
            bool expected = false;                                                                        // TODO: 初始化为适当的值
            bool actual;

            actual = target.Find(match, out findKeyValuePair);
            Assert.AreEqual(findKeyValuePairExpected, findKeyValuePair);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("验证此测试方法的正确性。");
        }