Exemplo n.º 1
0
        public void Add1()
        {
            var name1 = new KeyInputSet(KeyInputUtil.CharToKeyInput('c'));
            var name2 = name1.Add(KeyInputUtil.CharToKeyInput('a'));

            Assert.Equal("ca", name2.Name);
        }
Exemplo n.º 2
0
        private KeyInputSet CreateTwo(char c1, char c2)
        {
            var keyInputSet = new KeyInputSet(KeyInputUtil.CharToKeyInput(c1));

            return(keyInputSet.Add(KeyInputUtil.CharToKeyInput(c2)));
        }