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

            map.ContainsKeyTwo("a").IsTrue();
            map.ContainsKeyTwo("p").IsFalse();
        }
예제 #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();
        }
예제 #3
0
        public void AddTest()
        {
            DoubleKeyDictionary <int, string, string> map = CreateDictionary();

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