コード例 #1
0
        public void LeftArrowThenInsertNewCharacterInsertsText()
        {
            textEditor.RaiseKeyPressEvent('a');
            textEditor.RaiseKeyPressEvent('b');
            textEditor.RaiseDialogKeyPressEvent(Keys.Left);
            textEditor.RaiseKeyPressEvent('c');

            Assert.AreEqual("acb", console.GetCurrentLine());
        }
 public void CurrentLineAfterUpArrowKeyPressed()
 {
     textEditor.RaiseDialogKeyPressEvent(Keys.Up);
     Assert.AreEqual("bc", pythonConsole.GetCurrentLine());
 }
コード例 #3
0
 public void CurrentLineIsEmpty()
 {
     Assert.AreEqual(String.Empty, pythonConsole.GetCurrentLine());
 }