public void Initialize_WithCustomEqualityComparer() { var dataStore = new SimpleDataStore <string, int?> (StringComparer.InvariantCultureIgnoreCase); dataStore.Add("a", 1); Assert.That(dataStore.ContainsKey("a")); Assert.That(dataStore.ContainsKey("A")); }
public void ContainsKey_True() { Assert.That(_store.ContainsKey("a")); Assert.That(_store.ContainsKey("b")); }