Beispiel #1
0
        public void CanRemoveValueFromHashTableWithCollisions()
        {
            MyHashTable hashTable = new MyHashTable();

            hashTable.Add("test", "testOne");
            hashTable.Add("test", "testTwo");

            hashTable.Remove("test", "testOne");

            Assert.False(hashTable.ContainsUnique("test", "testOne"));
        }