Beispiel #1
0
        public void ShouldResolveScopedBinding(string binding, Key[] scopeKeys, Key[] shortcut)
        {
            var combinations = KeyUtils.ParseBinding(binding).Combinations;

            Assert.AreEqual(scopeKeys, combinations[0]);
            Assert.AreEqual(shortcut, combinations[1]);
        }