示例#1
0
        public void Copy_To_Returns_Correct_Result()
        {
            TernaryTree <int> subject = TernaryTree <int> .Create(_keyValueCollection);

            KeyValuePair <string, int>[] actualResult = new KeyValuePair <string, int> [subject.Count];
            subject.CopyTo(actualResult, 0);
            Assert.That(actualResult, Is.EqualTo(_sortedKVPairs));
        }