Example #1
0
        public void VerifyAlternateKeyInputPairListIsComplete()
        {
            foreach (var cur in KeyInputUtil.AlternateKeyInputPairList)
            {
                var target    = cur.Item1;
                var alternate = cur.Item2;
                Assert.AreEqual(alternate, target.GetAlternate().Value);
                Assert.AreEqual(alternate, KeyInputUtil.GetAlternate(target).Value);
                Assert.AreEqual(target, KeyInputUtil.GetAlternateTarget(alternate).Value);
            }

            Assert.AreEqual(KeyInputUtil.AlternateKeyInputPairList.Count(), KeyInputUtil.AlternateKeyInputList.Count());
        }