Пример #1
0
        public void TestListMapIsEmpty()
        {
            Assert.IsFalse(_listMap.isEmpty());
            var emptyListMap = new ListMap <string, int> .EmptyListMap();

            Assert.IsTrue(emptyListMap.isEmpty());
            foreach (var kvp in emptyListMap)
            {
                Assert.Fail("Code should never get here");
            }
        }