Cadenza.Tests.CollectionCodaTests.RemoveAll_Collection_NotFound C# (CSharp) Метод

RemoveAll_Collection_NotFound() приватный Метод

private RemoveAll_Collection_NotFound ( ) : void
Результат void
        public void RemoveAll_Collection_NotFound()
        {
            var collection = new Dictionary<int, int> { { 1, 1 }, { 3, 3 }, { 5, 3 } };
            Assert.IsFalse (collection.RemoveAll (kvp => kvp.Value == 2));

            Assert.AreEqual (3, collection.Count);
        }