public void Remove_SelfBuilt_ItemIsRemoved()
        {
            StandardWordListCollection collection = new StandardWordListCollection();

            collection.Add(StandardWordList.FemaleNames);
            collection.Add(StandardWordList.MaleNames);
            Assert.AreEqual(2, collection.Count);
            bool result = collection.Remove(StandardWordList.MaleNames);

            Assert.IsTrue(result);
            Assert.AreEqual(1, collection.Count);
        }
        public void Remove_SelfBuiltRemoveNonExistantItem_RemoveReturnsFalse()
        {
            StandardWordListCollection collection = new StandardWordListCollection();

            collection.Add(StandardWordList.FemaleNames);
            collection.Add(StandardWordList.MaleNames);
            Assert.AreEqual(2, collection.Count);
            bool result = collection.Remove(StandardWordList.Surnames);

            Assert.IsFalse(result);
            Assert.AreEqual(2, collection.Count);
        }
 public void Remove_SelfBuilt_ItemIsRemoved()
 {
   StandardWordListCollection collection = new StandardWordListCollection();
   collection.Add(StandardWordList.FemaleNames);
   collection.Add(StandardWordList.MaleNames);
   Assert.AreEqual(2, collection.Count);
   bool result = collection.Remove(StandardWordList.MaleNames);
   Assert.IsTrue(result);
   Assert.AreEqual(1, collection.Count);
 }
 public void Remove_SelfBuiltRemoveNonExistantItem_RemoveReturnsFalse()
 {
   StandardWordListCollection collection = new StandardWordListCollection();
   collection.Add(StandardWordList.FemaleNames);
   collection.Add(StandardWordList.MaleNames);
   Assert.AreEqual(2, collection.Count);
   bool result = collection.Remove(StandardWordList.Surnames);
   Assert.IsFalse(result);
   Assert.AreEqual(2, collection.Count);
 }