public void DictionaryUtility_MergeWithConflicts_3()
        {
            Dictionary <string, int> first  = new Dictionary <string, int>();
            Dictionary <string, int> second = null;

            DictionaryUtility.MergeWithConflicts(first, second);
        }
        public void DictionaryUtility_MergeWithConflicts_1()
        {
            Dictionary <string, int> first = new Dictionary <string, int>
            {
                { "one", 1 },
                { "two", 2 },
                { "three", 3 }
            };

            Dictionary <string, int> second = new Dictionary <string, int>
            {
                { "three", 3 },
                { "four", 4 },
                { "five", 5 }
            };

            DictionaryUtility.MergeWithConflicts
            (
                first,
                second
            );
        }
        public void DictionaryUtility_MergeWithConflicts_2()
        {
            Dictionary <string, int> first = new Dictionary <string, int>
            {
                { "one", 1 },
                { "two", 2 },
                { "three", 3 }
            };

            Dictionary <string, int> second = new Dictionary <string, int>
            {
                { "four", 4 },
                { "five", 5 },
                { "six", 6 }
            };

            Dictionary <string, int> result = DictionaryUtility.MergeWithConflicts
                                              (
                first,
                second
                                              );

            Assert.AreEqual(6, result.Count);
        }