public MultidictionaryWithItemsRemoved() { dictionary = new Multidictionary <string, int>(); dictionary.AddRange("SUnit", new int[] { 50, 100, 150 }); dictionary.AddRange("hello", new int[] { 7 }); dictionary.AddRange("TeamS", new int[] { 420, 69 }); dictionary.Remove("hello", 7); }
public Test AddRange_ThrowsWhenKeyNull() { return(Assert.Throws <ArgumentNullException>(() => dictionary.AddRange(null, Enumerable.Empty <string>()))); }