You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@ -353,6 +353,19 @@ namespace MonoTests.System.Collections.Concurrent
|
||||
} catch (ArgumentNullException ex) {
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void ContainsKeyPairTest ()
|
||||
{
|
||||
var validKeyPair = new KeyValuePair<string, string> ("key", "validValue");
|
||||
var wrongKeyPair = new KeyValuePair<string, string> ("key", "wrongValue");
|
||||
|
||||
IDictionary<string, string> dict = new ConcurrentDictionary<string, string> ();
|
||||
dict.Add (validKeyPair);
|
||||
|
||||
Assert.IsTrue (dict.Contains (validKeyPair));
|
||||
Assert.IsFalse (dict.Contains (wrongKeyPair));
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user