Exemple #1
0
        public void ContainsKeyTwoTest()
        {
            DoubleKeyDictionary <int, string, string> map = CreateDictionary();

            map.ContainsKeyTwo("a").IsTrue();
            map.ContainsKeyTwo("p").IsFalse();
        }
Exemple #2
0
        public void RemoveTwoTest()
        {
            DoubleKeyDictionary <int, string, string> map = CreateDictionary();

            map.RemoveTwo("a");
            map.ContainsKeyTwo("a").IsFalse();

            map.RemoveTwo("I");
            map.ContainsKeyTwo("I").IsFalse();
        }
Exemple #3
0
        public void AddTest()
        {
            DoubleKeyDictionary <int, string, string> map = CreateDictionary();

            map.Add(9, "p", "O");
            map.ContainsKeyOne(9).IsTrue();
            map.ContainsKeyTwo("p").IsTrue();
        }