public void Contains_SameKeyDifferentCasing_Found() { var map = new CaseInsensitiveMap<int>(); map[ "a" ] = 1; Assert.That( map.Contains( "A" ), Is.True ); }
public void Contains_KeyValuePairWithSameKeyDifferentCasing_Found() { var map = new CaseInsensitiveMap<int>(); map[ "a" ] = 1; Assert.That( map.Contains( new KeyValuePair<string, int>( "A", 1 ) ), Is.True ); }
public void Contains_KeyValuePairWithSameKeyDifferentCasing_Found() { var map = new CaseInsensitiveMap <int>(); map["a"] = 1; Assert.That(map.Contains(new KeyValuePair <string, int>("A", 1)), Is.True); }
public void Contains_SameKeyDifferentCasing_Found() { var map = new CaseInsensitiveMap <int>(); map["a"] = 1; Assert.That(map.Contains("A"), Is.True); }