public void KeystrokeCases()
        {
            foreach (var pair in strokeToSlice)
            {
                var expected = pair.Value;
                var actual   = KeystrokeInterpreter.Interpret(null, Before, pair.Key);

                if (!ReferenceEquals(expected, null))
                {
                    //if (actual != expected)
                    //{
                    //    KeystrokeInterpreter.Interpret(null, Before, pair.Key);
                    //}

                    Assert.AreEqual(expected, actual);
                }
            }
        }
        void CheckNonEmptyDelete(TextSlice input, TextSlice expected, string keystroke)
        {
            var actual = KeystrokeInterpreter.Interpret(this, input, keystroke);

            Assert.AreEqual(expected, actual, keystroke);
        }
        static TextSlice DoDeleteWord(TextSlice input)
        {
            var output = KeystrokeInterpreter.Interpret(null, input, "{DELWORD}");

            return(output);
        }