Exemplo n.º 1
0
        public void HashListDoesHashListThings()
        {
            var list = new HashList <string>(1);

            list.Insert("Zesty", 77, "Chicken");
            list.Insert("Crunchy", 12, "Taco");

            Assert.NotNull(list.Head);
            Assert.True(list.Includes("Crunchy"));
            Assert.Equal("Chicken", list.KeyValue("Zesty"));
        }