예제 #1
0
        public void CloneCopiesCharacters()
        {
            var original = new CharacterSetDefinition("main");

            original.Characters.Add("a");
            original.Characters.Add("b");
            CharacterSetDefinition copy = original.Clone();

            Assert.That(copy.Characters, Is.EquivalentTo(new string[] { "a", "b" }));
        }