public void GetKeyMapping1() { Assert.True(_map.MapWithRemap("a", "b", KeyRemapMode.Normal)); Assert.True(_map.MapWithRemap("b", "a", KeyRemapMode.Normal)); var ret = _map.GetKeyMapping(KeyInputSetUtil.OfChar('a'), KeyRemapMode.Normal); Assert.True(ret.IsRecursive); }
public void GetKeyMapping1() { Assert.IsTrue(_map.MapWithRemap("a", "b", KeyRemapMode.Normal)); Assert.IsTrue(_map.MapWithRemap("b", "a", KeyRemapMode.Normal)); var ret = _map.GetKeyMapping(KeyInputSetUtil.OfChar('a'), KeyRemapMode.Normal); Assert.IsTrue(ret.IsRecursiveMapping); Assert.AreEqual('b', ret.AsRecursiveMapping().Item.KeyInputs.Single().Char); }