コード例 #1
0
        /// <summary>
        ///RemoveAll 的测试
        ///</summary>
        public void RemoveAllTestHelper <KeyT, ValueT>()
        {
            SafeDictionary <KeyT, ValueT> target = new SafeDictionary <KeyT, ValueT>(); // TODO: 初始化为适当的值
            Predicate <KeyT, ValueT>      match  = null;                                // TODO: 初始化为适当的值
            int expected = 0;                                                           // TODO: 初始化为适当的值
            int actual;

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